mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-16 02:27:03 +01:00
lsd over exa
This commit is contained in:
parent
bf412d1976
commit
0e65034771
2 changed files with 14 additions and 9 deletions
|
|
@ -195,14 +195,14 @@ export MANPATH="/usr/local/man:/usr/local/ssl/share/man:$MANPATH"
|
|||
alias gnb='git nb' # new branch aka checkout -b
|
||||
alias gdtl='git difftool --no-prompt'
|
||||
|
||||
if [ -x "$(command -v exa)" ]; then
|
||||
if [ -x "$(command -v lsd)" ]; then
|
||||
alias ls="lsd"
|
||||
elif [ -x "$(command -v exa)" ]; then
|
||||
alias ls="exa"
|
||||
alias la="exa --long --all --group"
|
||||
else
|
||||
if [ -x "$(command -v colorls)" ]; then
|
||||
alias ls="colorls"
|
||||
alias la="colorls -al"
|
||||
fi
|
||||
elif [ -x "$(command -v colorls)" ]; then
|
||||
alias ls="colorls"
|
||||
alias la="colorls -al"
|
||||
fi
|
||||
|
||||
# Other custom config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue