commit 78fe3cdc4ed0f79a19cbe185d933e947920c81fa
parent eea758a98275bc5f993445418c914e692746c587
Author: Chris Bracken <chris@bracken.jp>
Date: Fri, 28 Feb 2014 19:27:34 -0800
Always use -F flag with ls
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.aliases b/.aliases
@@ -3,18 +3,18 @@
# add color
if [[ -x /usr/bin/dircolors || -x /usr/homebrew/opt/coreutils/libexec/gnubin/dircolors ]]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
- alias ls='ls --color=auto'
+ alias ls='ls -F --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
elif [[ `uname` == 'Darwin' ]]; then
- alias ls='ls -G'
+ alias ls='ls -FG'
fi
# more ls aliases
-alias ll='ls -lF'
-alias la='ls -AlF'
-alias l='ls -CF'
+alias ll='ls -l'
+alias la='ls -Al'
+alias l='ls -C'
# enable checks
alias cp='cp -i'