dotfiles/.aliases

63 lines
1.8 KiB
Text

alias ....="cd ../../.."
alias .....="cd ../../../.."
alias a="ls -l --human-readable --all --color=auto"
alias agi="sudo apt-get install"
alias agl="dpkg --get-selections"
alias agL="dpkg --listfiles"
alias agu="sudo apt-get update && sudo apt-get upgrade"
alias al="zsh_stats"
alias be="bundle exec"
alias beg="bundle exec guard"
alias ber="bundle exec rake"
alias c="clear"
alias f="map-sshfs"
alias fn="map-sshfs netprint /data/www/ netprint && cd ~/Mounts/netprint"
alias fun="cd && fusermount -u ~/Mounts/netprint"
alias g="g" # overwrite g alias in git plugin so function will work
alias ga="git add"
alias gaa="git add --all"
alias gap="git add --patch"
alias gc="git commit"
alias gcm="echo Do not specify message at command line. Use gc"
alias gco="git checkout"
alias gd="git diff"
alias gfl="git log --patch"
alias gl="git log"
alias gh="git hist"
alias ghd="git hist-details"
alias ght="git hist-tags"
alias gr="git reset"
alias grc="git rm --cached"
alias grh="git reset --hard"
alias gri="git rebase --interactive"
alias grm="git rm"
alias gs="git status"
alias gw="git diff --check"
alias Grep='grep'
alias l="ls"
alias ll="ls -lv --human-readable --color=auto"
alias lp="librarian-puppet"
alias m="more"
alias md="mkdir"
alias ms="tmux -S /tmp/pair && chmod 777 /tmp/pair"
alias mw="tmux attach-session -t work || tmux new-session -s work"
alias r="ssh"
alias rd="popd"
alias rs="bundle exec rspec spec"
alias sd="pwd | pushd"
alias s="cd ~/Source"
alias sfs="map-sshfs"
alias sz="source ~/.zshrc"
alias t="tmux"
alias tls="tmux list-sessions"
alias v="vim"
alias vd="vagrant destroy"
alias vh="vagrant halt"
alias vn="vim -u NONE"
alias vp="vagrant provision"
alias vu="vagrant up"
alias vs="vagrant status"
alias vssh="vagrant ssh"
alias w="python -m SimpleHTTPServer"
alias x="exit"