dotfiles/aliases

96 lines
2.8 KiB
Text
Raw Normal View History

2013-08-05 22:07:01 -04:00
alias ....="cd ../../.."
alias .....="cd ../../../.."
2013-10-14 00:19:08 -04:00
alias a="ls -l --human-readable --all --color=auto"
2013-05-29 00:00:04 -04:00
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"
2013-04-29 01:25:52 -04:00
alias al="zsh_stats"
2014-08-21 06:00:32 -04:00
alias b="bundle"
2013-08-05 22:07:01 -04:00
alias be="bundle exec"
2014-08-21 06:00:32 -04:00
alias bea="bundle exec rails"
2013-08-05 22:07:01 -04:00
alias beg="bundle exec guard"
2015-05-06 21:55:56 -04:00
alias bej="bundle exec jekyll"
alias ber="bundle exec rake"
2015-01-20 14:19:07 -05:00
alias bet="bundle exec rspec"
2015-01-26 16:54:45 -05:00
alias betd="bundle exec rspec --format documentation"
alias c="clear"
2013-09-18 21:08:28 -04:00
alias f="map-sshfs"
alias g="g" # overwrite g alias in git plugin so function will work
2013-04-29 01:15:58 -04:00
alias ga="git add"
2013-10-14 00:19:08 -04:00
alias gaa="git add --all"
2014-02-28 15:18:44 -05:00
alias gap="git add --patch"
alias gbc="git branch --merged master | grep -v master | xargs git branch -d"
alias gbda="git branch | grep -v master | xargs git branch -D"
2013-09-18 21:08:28 -04:00
alias gc="git commit"
2014-12-09 14:16:39 -05:00
alias gca="git commit --amend"
2013-10-14 00:19:08 -04:00
alias gcm="echo Do not specify message at command line. Use gc"
alias gco="git checkout"
2013-04-29 02:16:39 -04:00
alias gd="git diff"
2014-09-05 00:33:42 -04:00
alias gdc="git diff --cached"
alias gds="git diff --stat"
2015-01-26 16:54:45 -05:00
alias gdss="git diff --shortstat"
2014-12-18 10:17:11 -05:00
alias gfa="git-date-added"
2013-10-14 00:19:08 -04:00
alias gfl="git log --patch"
2014-08-21 05:56:28 -04:00
alias gi="gitignore-io"
2013-04-29 01:15:58 -04:00
alias gl="git log"
2013-04-29 02:16:39 -04:00
alias gh="git hist"
2013-08-05 22:07:01 -04:00
alias ghd="git hist-details"
2013-10-21 09:32:03 -04:00
alias ght="git hist-tags"
2014-10-22 13:58:02 -04:00
alias gp="git push"
2014-11-03 13:58:26 -05:00
alias gpf="git push --force"
2014-10-22 13:58:02 -04:00
alias gpl="git pull"
alias gpo="git push -u origin"
2015-02-21 20:33:40 -05:00
alias gpu="git push -u upstream"
2013-08-05 22:07:01 -04:00
alias gr="git reset"
2014-11-20 15:47:51 -05:00
alias grb="git rebase"
alias grba="git rebase --abort"
alias grbc="git rebase --continue"
alias grbi="git rebase --interactive"
2013-08-12 02:18:47 -04:00
alias grc="git rm --cached"
2013-08-05 22:07:01 -04:00
alias grh="git reset --hard"
2014-11-20 15:47:51 -05:00
alias gri="echo Use grbi"
2013-04-29 01:15:58 -04:00
alias grm="git rm"
2013-04-29 02:16:39 -04:00
alias gs="git status"
2014-10-22 13:58:02 -04:00
alias gup="git remote update --prune"
2013-08-06 04:13:10 -04:00
alias gw="git diff --check"
2013-06-11 16:49:13 -04:00
alias Grep='grep'
2015-04-28 14:44:42 -04:00
alias h='heroku'
alias hp='git push heroku master'
alias hip='heroku logs -n 1500 | grep -o "[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" | sort | uniq'
2014-10-22 13:42:08 -04:00
alias jb="./gradlew"
alias jbd="./gradlew dependencies"
alias jbr="./gradlew run"
alias jbt="./gradlew test"
2013-05-10 18:06:03 -04:00
alias l="ls"
2013-05-29 10:54:34 -04:00
alias ll="ls -lv --human-readable --color=auto"
2013-10-14 00:19:08 -04:00
alias lp="librarian-puppet"
2013-09-18 21:08:28 -04:00
alias m="more"
2015-05-06 21:55:56 -04:00
alias md="cd ~/dotfiles > /dev/null 2>&1; make; cd -1 > /dev/null 2>&1"
alias mf="mkdir"
2013-06-26 11:36:03 -04:00
alias ms="tmux -S /tmp/pair && chmod 777 /tmp/pair"
alias mw="tmux attach-session -t work || tmux new-session -s work"
2015-01-20 14:19:07 -05:00
alias p="sudo"
2014-12-09 14:16:39 -05:00
alias pf="port-forward"
2013-10-14 00:19:08 -04:00
alias r="ssh"
2013-08-05 22:07:01 -04:00
alias rd="popd"
2014-08-21 06:00:32 -04:00
alias rs="bundle exec rspec"
2013-04-29 01:18:39 -04:00
alias s="cd ~/Source"
2015-01-26 16:54:45 -05:00
alias sci="ssh-copy-id -i .ssh/id_rsa.pub"
2014-08-21 06:00:32 -04:00
alias sd="pwd | pushd"
2013-06-11 16:49:13 -04:00
alias sfs="map-sshfs"
alias sz="source ~/.zshrc"
2013-04-30 15:58:31 -04:00
alias t="tmux"
alias tls="tmux list-sessions"
2013-04-29 01:25:52 -04:00
alias v="vim"
2013-07-19 01:47:48 -04:00
alias vd="vagrant destroy"
alias vh="vagrant halt"
alias vn="vim -u NONE"
2013-07-19 01:47:48 -04:00
alias vp="vagrant provision"
2014-08-21 05:50:39 -04:00
alias vr="vagrant reload"
2013-07-19 01:47:48 -04:00
alias vs="vagrant status"
alias vssh="vagrant ssh"
2014-08-21 05:50:39 -04:00
alias vu="vagrant up"
2013-07-28 00:41:18 -04:00
alias w="python -m SimpleHTTPServer"
alias x="exit"