Very useful tip: i have ls aliased to eza which is ls with eyecandy, I have la aliased to eza -a and I have cd aliased to cd && eza which makes navigating folders very easy. I also aliased … to cd … for convenience. I know a lot of people are purists about the terminal but i think this is a good ballance between convenience and simplicity. Doesnt do a lot of the cursed stuff ricers like to do.
I think i defined cd as a function for interactive shells or something. I dont remember and i dont have my computer so yeah. It should look something like this: cd() {builtin cd “$@” && eza}
Love convenient aliases. Would aliasing … cause “…/previous/file” to become " cd …/previous/file" and ruin some commands? I guess not. I also use eza :D
Very useful tip: i have ls aliased to eza which is ls with eyecandy, I have la aliased to eza -a and I have cd aliased to cd && eza which makes navigating folders very easy. I also aliased … to cd … for convenience. I know a lot of people are purists about the terminal but i think this is a good ballance between convenience and simplicity. Doesnt do a lot of the cursed stuff ricers like to do.
ooooh that’s nice! i love this threads, my shell gets soo much nicer! thank you all, you are great!
How do you have
cd && ezasetup? With an alias the arguments only get appended to the final command so how is it cding to the correct folder?I think i defined cd as a function for interactive shells or something. I dont remember and i dont have my computer so yeah. It should look something like this: cd() {builtin cd “$@” && eza}
cdis azoxidealias for me. If I need to navigate by folder content, I haveyazionyYazi is nice but when im navigating shorter directory structures i prefer cd. Question of personal preference as all of this is.
Love convenient aliases. Would aliasing … cause “…/previous/file” to become " cd …/previous/file" and ruin some commands? I guess not. I also use eza :D
Only if it’s a global alias, I think (those are useful for stuff like
alias -g DN=/dev/null)