LSD (LSDeluxe) - Make your Linux "ls" command AWESOME!
Ғылым және технология
We will overview a great replacement to the ls command to list all your files and directories in the Linux terminal. LSD will provide dynamic and customizable color options as well as advanced arguments to your standard list command. In order to run this as ls in the terminal you will need to edit your .bashrc configuration witch we will go over in the video.
techhut.tv/post/2021/03/lsd-l...
SUPPORT TECHHUT / techhut
SUBSCRIBE ON LBRY! lbry.tv/@TechHut:1
JOIN OUR DISCORD! / discord
My Workstation (PAID LINKS)
RYZEN 7 3700X: amzn.to/31BfO35
ASUS PRIME X570-P: amzn.to/2HeKhNh
Phanteks Eclipse P400A: amzn.to/3m3VFdH
GIGABYTE GeForce GTX 1650: amzn.to/3lXkxDM
G.SKILL Trident Z Neo: amzn.to/347eZAz
WD Blue SN550 1TB: amzn.to/3o2RQan
Seasonic FOCUS GX-650: amzn.to/3j9MKFy
Пікірлер: 43
your voice is so smooth and calming....thanks for this utility tut too...
you don’t need to restart the terminal, you can use the “source” command to reload the bashrc file. for instance “$source ~/.bashrc”
@yash1152
Жыл бұрын
hi, can sourcing work on windows for the `env` variable too?
@crack8160
Жыл бұрын
@@yash1152 what do you mean, sourcing env variable ? You can either edit it for current shell or make it persistent.
Astounding, looks #nice 💫🚨
Damn your system looks real clean!
Great tip, thanks!
Perfect! I preferred GUI file managers because they have colours and icons. With this, I'll stick to Terminal. Good
I hope it will be a command like this for cd in the future
Darn, I stopped using unix/linux in 1992 so I am back on the saddle and I am just experimenting with Ubuntu Raspbian OS and Manjaro and I found that typing the pacman command in Manjaro is a pain in the butt (Bear with me, I am an old fart). When you were adding the ls alias to the configuration I saw the pacman aliases so sorry had to steal that from you. Thank you very much. Love your videos. Best regards from San Juan, Puerto Rico, say safe.
Hey there! Thanks for the video, I love the command. I have a question though, do you know how I could change lsd -l configuration so it doesn't show permissions and user, just size, date and name? Sorry for the question, I am a newbie 😅
You should try exa. It's alsowritten in rust. Try doing 'exa -al --colour=always --group-directories-first'
Hashtag or pound depending how old you are, this cut deep
nice
in terminal do you need to use specific font to make your icons big? because mine are so small, and I don't know how to make them bigger
I was using exa but i prefer lsd i had forgotten about it until i saw this video :)
the 3 files { bash_logout, bash_profile, .bashrc } are missing in my home directory? where can I copy these files to my HOME directory? I saw them in the /etc/directory. Thank you for your help.
which icon pack do you use?
Maybe also try "exa"? no need for extra fonts etc, I have my alias listed as: ls='pwd; exa -la --color=always --group-directories-first'. Highly recommend it :)
Nice. `lsd` seems to do the same as I had with `exa --icons` before - so replacing exa (in rust) with lsd (rust)
@gjermundification
3 жыл бұрын
I use exa, how does `lsd` compare to `exa`?
@BendyLemmy
3 жыл бұрын
@@gjermundification Well I found 'lsd' looked nicer than 'exa --icons' and it has a config file... but when I put it in my .zshrc I got errors... so I think exa is better. alias ls='exa --icons --color=always --group-directories-first' alias la='ls -a' alias ll='ls -l | less -RF'
You shouldn't need to use sudo to edit your own user's .bashrc file. I add aliases all the time without it.
I'd recommend using LSDeluxe in combination with LS_COLORS.
@andrewchristiansen5203
3 жыл бұрын
I tried sharing a link to LS_COLORS, but I think my comment was being marked as spam and being hidden. Anyways a quick search should return the github repo.
It's so strange. I can't find a nerd font that displays something for downloads. That directory just looks like a Chinese like character behind an Android avatar. I love finding a new rabbit hole to go down with Linux and there's great content creators making shit on it. ThePrimeagen, you, DT, Linux cast, Nick, Learn Linux tv etc. Tons. Thanks Trying to learn on Pop OS and Endeavouros at the same time. Doing so pulls the vale back on Pop OS, while making Arch seem approachable
I think that it is not a good idea to set alias to ls command. How will it behave in case of pipeline? Will the icons become a hindrance when parsing an incoming string?
@marcusjohansson668
Жыл бұрын
Interesting thought, that I have never had. But you are probably correct, although, I have NEVER ran into that problem. Been using ls aliases in .bashrc for a long time (primarily using ll=ls -l).
could u make a video about customizing terminal prompt? like displaying full path etc
@octopusonfire100
3 жыл бұрын
Just install zsh and oh-my-zsh. It is the easiest way to theme your prompt.
@QuarKSonTV
3 жыл бұрын
@@octopusonfire100 old habits die hard, I'm really used to bash and gnome terminal even though my DE isn't gnome
@octopusonfire100
3 жыл бұрын
@@QuarKSonTV Then I don't know any other way than manually modifying your .bashrc.
@rizkyadiyanto7922
3 жыл бұрын
@@QuarKSonTV bash and zsh mostly doesnt have much different, unless youre one of those guys who like to write scripts.
Any idea why my folder icons are so small? I am using Kitty as my terminal.
@Klusio19
2 жыл бұрын
The same question. Icons are very small, so basically they are useless
@jamirvillarosa7924
2 жыл бұрын
@@Klusio19 turns out that it's normal lol.
nice beard
A handy tool, but pls don't edit your. bashrc with sudo. The .bashrc in the home folder belongs to the user. Hint source .bashrc load the editet .bashrc without closing the terminal.
@TechHut
3 жыл бұрын
Thank you. I'm so use to 'sudo nano' it's habbit.
@lmind2
4 ай бұрын
Or just . .bashrc But yeah, sudo no bueno for editing user account's .bashrc.
Exa is better IMO, it is written in rust
Looks like colorls to me...
Use this cool app, built in distro app. Also, you have to install +1GB of FONTS to get it to work properly. Ok buddy. I just color code my cli in ~/.bashrc and add aliases (the built in one "ll" (ls -l) works just fine 999 times out of 1000.)