Alias clean up

This commit is contained in:
Henrik Lissner 2013-10-26 11:46:06 -04:00
parent bc146a186b
commit fcbb5763fd

View file

@ -2,15 +2,15 @@
# Aliases # # Aliases #
############# #############
command_exists "git" && source ~/.zsh/alias/git for file in ~/.zsh/alias/*; do
command_exists "tmux" && source ~/.zsh/alias/tmux command_exists `basename "$file"` && source $file
command_exists "vagrant" && source ~/.zsh/alias/vagrant done
# Interpreters # Interpreters
command_exists "ruby" && alias rb='ruby' command_exists "ruby" && alias rb='ruby'
command_exists "python" && alias py='python' command_exists "python" && alias py='python'
command_exists "node" && alias js='node' command_exists "node" && alias js='node'
if is_mac && [ -e /Applications/love.app ]; then if [ -e /Applications/love.app ]; then
alias love="/Applications/love.app/Contents/MacOS/love" alias love="/Applications/love.app/Contents/MacOS/love"
fi fi
@ -18,8 +18,9 @@ fi
if is_mac; then if is_mac; then
alias ls='ls -G' alias ls='ls -G'
else else
alias ls='ls -G --color' alias ls='ls --color'
fi fi
alias sudo='sudo '
alias l='ls -1' alias l='ls -1'
alias ll='ls -l' alias ll='ls -l'
alias la='ls -la' alias la='ls -la'