ENH only alias exa if it exists
This commit is contained in:
parent
d854f1308b
commit
80d75659e9
|
@ -197,9 +197,15 @@ alias ls='ls --color'
|
||||||
alias grep='grep --color=auto'
|
alias grep='grep --color=auto'
|
||||||
alias sudo='sudo '
|
alias sudo='sudo '
|
||||||
alias diff=colordiff
|
alias diff=colordiff
|
||||||
alias ll='exa -alhg --group-directories-first'
|
|
||||||
alias llt='exa -T'
|
if [ -e /bin/exa ]; then
|
||||||
alias llg='ll --git'
|
alias ll='exa -alhg --group-directories-first'
|
||||||
|
alias llt='exa -T'
|
||||||
|
alias llg='ll --git'
|
||||||
|
else
|
||||||
|
alias ll='ls -alh'
|
||||||
|
[ -e /bin/tree ] && alias llt='tree'
|
||||||
|
fi
|
||||||
|
|
||||||
setopt autopushd
|
setopt autopushd
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue