1
0
Fork 0
mirror of synced 2024-11-22 15:25:34 -05:00

[utility] The GNU ls alias is colours-related

Ops.
This commit is contained in:
Eric Nielsen 2018-05-24 21:09:06 -05:00
parent 0dfce9e8b7
commit 214330ddc9

View file

@ -17,6 +17,8 @@ if (( terminfo[colors] >= 8 )); then
else
export LS_COLORS='di=1;34:ln=35:so=32:pi=33:ex=31:bd=1;36:cd=1;33:su=30;41:sg=30;46:tw=30;42:ow=30;43'
fi
alias ls='ls --group-directories-first --color=auto'
else
# BSD
@ -60,7 +62,6 @@ fi
if (( ${+commands[dircolors]} )); then
alias ls='ls --group-directories-first --color=auto'
alias lx='ll -X' # long format, sort by extension
# Always wear a condom