ls fixes, removed redundant tree alias
parent
b8393252db
commit
245faefd1b
|
|
@ -19,7 +19,7 @@ case "$OSTYPE" in
|
||||||
# Check if coreutils path is in $PATH
|
# Check if coreutils path is in $PATH
|
||||||
if [[ ":$PATH:" == *":/usr/local/opt/coreutils/libexec/gnubin:"* ]]; then
|
if [[ ":$PATH:" == *":/usr/local/opt/coreutils/libexec/gnubin:"* ]]; then
|
||||||
# Set Linux color option
|
# Set Linux color option
|
||||||
LS_COLOR_OPTION="--color"
|
LS_COLOR_OPTION="--color=auto"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
@ -44,8 +44,6 @@ alias lm="ll |more" # Pipe through "more"
|
||||||
alias lr="ll -R" # Recursive ls.
|
alias lr="ll -R" # Recursive ls.
|
||||||
alias la="ll -A" # Show hidden files.
|
alias la="ll -A" # Show hidden files.
|
||||||
|
|
||||||
alias tree="tree -C" # Nice alternative to "recursive ls" ...
|
|
||||||
|
|
||||||
alias sl="ls"
|
alias sl="ls"
|
||||||
alias l1="ls -1 --group-directories-first $LS_COLOR_OPTION"
|
alias l1="ls -1 --group-directories-first $LS_COLOR_OPTION"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue