Combine alias files

This commit is contained in:
Henrik Lissner 2013-12-19 09:48:28 -05:00
parent d23d8ab3a4
commit 6a05fdf6ca
6 changed files with 27 additions and 38 deletions

View file

@ -1,11 +0,0 @@
# git
# On top of oh-my-zsh's git aliases
alias gs='git status'
alias gst='git stash'
alias gap='git add -p'
alias gf='git ls-files | grep -i'
alias gt='git tag'
alias gtl='git describe --tags --abbrev=0'
# find oh-my-zsh's here: ~/.oh-my-zsh/plugins/git/git.plugin.zsh

View file

@ -1,7 +0,0 @@
# tmux
alias t='tmux'
alias tn='tmux new -s'
alias ta='tmux attach -t'
alias tl='tmux list-sessions'
alias td='tmux detach'

View file

@ -1,8 +0,0 @@
alias bt="transmission-remote dev"
alias btl="bt -l"
alias bta="bt --add"
function btr {
bt -t$1 -r
}

View file

@ -1,3 +0,0 @@
# vagrant
alias va='vagrant'

View file

@ -1,10 +1,31 @@
############# # GIT
# Aliases # if command_exists 'git'; then
############# # On top of oh-my-zsh's git aliases
alias gs='git status'
alias gst='git stash'
alias gap='git add -p'
alias gf='git ls-files | grep -i'
alias gt='git tag'
alias gtl='git describe --tags --abbrev=0'
for file in ~/.zsh/alias/*; do # find oh-my-zsh's here: ~/.oh-my-zsh/plugins/git/git.plugin.zsh
command_exists `basename "$file"` && source $file fi
done
# Tmux
command_exists 'tmux' && alias t='tmux'
# transmission-remote
if command_exists 'transmission-remote'; then
alias bt="transmission-remote dev"
alias btl="bt -l"
alias bta="bt --add"
function btr {
bt -t$1 -r
}
fi
alias va='vagrant'
# Interpreters # Interpreters
command_exists "ruby" && alias rb='ruby' command_exists "ruby" && alias rb='ruby'

View file

@ -1,3 +0,0 @@
# Nothing here yet
# vim:set ft=zsh: