Commit 27dc5c93 authored by Charles Hall's avatar Charles Hall

improved ls aliases with exa

parent 6020f442
......@@ -14,10 +14,19 @@ autoload -U promptinit && promptinit
autoload -U colors && colors
setopt prompt_subst
# Aliases if exa is installed
which exa 2>&1 > /dev/null
if [ $? -eq 0 ]; then
alias ls='exa'
alias lsa='exa -a'
alias lsl='exa -lg@'
else
alias ls='ls --color=auto'
alias lsa='ls --color=auto --almost-all'
alias lsl='ls --color=auto --almost-all -l'
fi
# Aliases
alias ls='ls --color=auto'
alias lsaa='ls --color=auto --all'
alias lsa='ls --color=auto --almost-all'
alias tm=task_manager
alias e=$EDITOR
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment