Tweaked the ls args a bit more

This commit is contained in:
Josh Sherman 2018-10-30 10:29:19 -05:00
parent 77f5f72b08
commit 4fac1addc8
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

10
aliases
View file

@ -5,14 +5,14 @@ alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -i'
# Colorize output
# Colorize output, make ls human readable and classify...
if [[ `uname` == Darwin ]]; then
alias dircolors='gdircolors'
alias ls='gls --color=auto'
alias ls='gls --color=auto -hF'
else
alias ls='ls --color=auto'
alias ls='ls --color=auto -hF'
# And standardize to macOS naming
# ...and standardize to macOS naming on Linux
alias open='xdg-open'
fi
@ -59,7 +59,7 @@ alias HEAD='http HEAD'
# `ls` after `cd`
function cd {
builtin cd "$@" && ls -F
builtin cd "$@" && ls
}
# Run `nvm` init script on demand to avoid constant slow downs