👍 for cd -
Brings you to the previous location you were at :)
I always keep these alias with me on all machines, local and remote:
# opens .zprofile for editing (zsh profile)alias prof='nano /<<ROOTDIRECTORYHERE>>/.zprofile'# opens .zshrc for editingalias rc='nano /<<ROOTDIRECTORYHERE>>/.zshrc'# source profiles (should be done every time after changing profile)alias s='source /<<ROOTDIRECTORYHERE>>/.zprofile; source /<<ROOTDIRECTORYHERE>>/.zshrc;'# fancy lsalias lk='ls -lhkart'# for 'lk' typos ;)alias kl='ls -lhkart'# open current folder in GUIalias show='open .'# go back a folderalias back='cd ..'# previous folderalias prev='cd -'# cd with no arguments brings you to your root folder :)alias home='cd'
These are quite useful.
Also, don't forget that TAB usually helps.
👍 for
cd -Brings you to the previous location you were at :)
I always keep these alias with me on all machines, local and remote:
👍
Thanks, I'll add the list in the cheat sheet!