zsh: use long option names in aliases where possible
Makes sense to use long option names when I am not doing the typing, as they are more descriptive than most single letters.
This commit is contained in:
parent
2a16007dfa
commit
406b092b03
1 changed files with 6 additions and 6 deletions
|
@ -3,17 +3,17 @@
|
|||
if command -v exa >/dev/null 2>&1; then
|
||||
# Prefer exa if installed
|
||||
alias \
|
||||
ls="exa -F --group-directories-first --group --links" \
|
||||
la="ls -a" \
|
||||
lt="ls -lT -I'.git'" \
|
||||
lta="lt -a" \
|
||||
ls="exa --classify --group-directories-first --group --links" \
|
||||
la="ls --all" \
|
||||
lt="ls --long --tree --ignore-glob'.git'" \
|
||||
lta="lt --all" \
|
||||
lsc="ls --color=always" \
|
||||
ltc="lt --color=always"
|
||||
elif ls --group-directories-first --color=auto >/dev/null 2>&1; then
|
||||
# GNU ls
|
||||
alias \
|
||||
ls="ls -hF --group-directories-first --color=auto" \
|
||||
la="ls -A" \
|
||||
ls="ls --classify --human-readable --group-directories-first --color=auto" \
|
||||
la="ls --almost-all" \
|
||||
lt="tree --dirsfirst -FI '.git|Spotlight-V100|.fseventsd'" \
|
||||
lsc="ls --color=always" \
|
||||
ltc="tree -C --dirsfirst -FI '.git'"
|
||||
|
|
Loading…
Add table
Reference in a new issue