Alias clean up
This commit is contained in:
parent
bc146a186b
commit
fcbb5763fd
11
zsh/aliases
11
zsh/aliases
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue