Clean up aliases
I removed the shortcuts for ruby/python. rb and py are now aliases for rbenv and pyenv.
This commit is contained in:
parent
9af324fe3a
commit
925d13a8db
21
zsh/aliases
21
zsh/aliases
|
@ -13,7 +13,7 @@ if command_exists 'git'; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Tmux
|
# Tmux
|
||||||
command_exists 'tmux' && alias t='tmux'
|
command_exists 'tmux' && alias t='tmux -CC'
|
||||||
|
|
||||||
# transmission-remote
|
# transmission-remote
|
||||||
if command_exists 'transmission-remote'; then
|
if command_exists 'transmission-remote'; then
|
||||||
|
@ -21,21 +21,16 @@ if command_exists 'transmission-remote'; then
|
||||||
alias btl="bt -l"
|
alias btl="bt -l"
|
||||||
alias bta="bt --add"
|
alias bta="bt --add"
|
||||||
|
|
||||||
function btr {
|
function btr { bt -t$1 -r }
|
||||||
bt -t$1 -r
|
function bts { bt -t$1 -S }
|
||||||
}
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alias va='vagrant'
|
alias va='vagrant'
|
||||||
|
|
||||||
# Interpreters
|
# Interpreters
|
||||||
command_exists "ruby" && alias rb='ruby'
|
command_exists "rbenv" && alias rb='rbenv'
|
||||||
command_exists "rbenv" && alias re='rbenv'
|
command_exists "pyenv" && alias py='pyenv'
|
||||||
command_exists "python" && alias py='python'
|
[ -e /Applications/love.app ] && alias love="/Applications/love.app/Contents/MacOS/love"
|
||||||
command_exists "node" && alias js='node'
|
|
||||||
if [ -e /Applications/love.app ]; then
|
|
||||||
alias love="/Applications/love.app/Contents/MacOS/love"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Shell conveniences
|
# Shell conveniences
|
||||||
alias l='ls -1'
|
alias l='ls -1'
|
||||||
|
@ -75,9 +70,7 @@ fi
|
||||||
alias v="vim"
|
alias v="vim"
|
||||||
|
|
||||||
# Make a directory and change to it
|
# Make a directory and change to it
|
||||||
function mkd {
|
function mkd { mkdir "$@" && cd "$@" }
|
||||||
mkdir "$@" && cd "$@"
|
|
||||||
}
|
|
||||||
|
|
||||||
alias reload='exec $SHELL -l'
|
alias reload='exec $SHELL -l'
|
||||||
alias c='clear'
|
alias c='clear'
|
||||||
|
|
Loading…
Reference in a new issue