From 214330ddc988617376491b2b365de7f6c87cd4ad Mon Sep 17 00:00:00 2001 From: Eric Nielsen Date: Thu, 24 May 2018 21:09:06 -0500 Subject: [PATCH] [utility] The GNU `ls` alias is colours-related Ops. --- modules/utility/init.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index 5ba4600..d8b3210 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -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