1
0
Fork 0
mirror of synced 2024-11-26 09:15: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 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' 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 fi
alias ls='ls --group-directories-first --color=auto'
else else
# BSD # BSD
@ -60,7 +62,6 @@ fi
if (( ${+commands[dircolors]} )); then if (( ${+commands[dircolors]} )); then
alias ls='ls --group-directories-first --color=auto'
alias lx='ll -X' # long format, sort by extension alias lx='ll -X' # long format, sort by extension
# Always wear a condom # Always wear a condom