mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[zsh] add alias for listing cd directories
This commit is contained in:
parent
25f78fedd3
commit
f46e58fd3a
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,8 @@ alias '$'=''
|
|||
# this alias allows aliases to work with sudo
|
||||
alias sudo='sudo '
|
||||
|
||||
alias cdd='dirs -v'
|
||||
|
||||
alias grep='grep --color=auto'
|
||||
|
||||
# exa is a modern replacement for ls - https://the.exa.website/
|
||||
|
@ -20,6 +22,7 @@ else
|
|||
alias l="${aliases[ls]} -l --human-readable"
|
||||
alias la="${aliases[l]} --almost-all"
|
||||
fi
|
||||
unalias ll # remove this Oh-My-Zsh alias
|
||||
|
||||
# fd is a simple, fast and user-friendly alternative to find - https://github.com/sharkdp/fd
|
||||
if command_exists fd; then
|
||||
|
|
Loading…
Reference in a new issue