[utility] The GNU ls
alias is colours-related
Ops.
This commit is contained in:
parent
0dfce9e8b7
commit
214330ddc9
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue