Skip to content

Commit

Permalink
zsh: prefer exa
Browse files Browse the repository at this point in the history
  • Loading branch information
aereal committed Oct 5, 2018
1 parent a1452e5 commit de914dd
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,20 @@ bindkey -v "^Ws" tmux_split

# alias {{{
alias :q=exit
if whence gls >/dev/null; then
alias l='gls --color=auto -AF'
alias ls='gls --color=auto -AF'
alias ll='gls --color=auto -AFl'
if whence exa >/dev/null 2>&1; then
alias l='exa -aF'
alias ls='exa -aF'
alias ll='exa -alF'
else
alias l='ls -GAF'
alias ls='ls -GAF'
alias ll='ls -GAFl'
if whence gls >/dev/null; then
alias l='gls --color=auto -AF'
alias ls='gls --color=auto -AF'
alias ll='gls --color=auto -AFl'
else
alias l='ls -GAF'
alias ls='ls -GAF'
alias ll='ls -GAFl'
fi
fi
whence hub >/dev/null 2>&1 && alias git=hub
# }}}
Expand Down

0 comments on commit de914dd

Please sign in to comment.