dotfiles/aliases

81 lines
2.5 KiB
Text
Raw Normal View History

2015-12-10 11:35:28 -05:00
alias ..="cd .."
alias ...="cd ../.."
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"
2016-06-08 10:32:44 -04:00
alias awsp="aws-profile"
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"
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"
2016-06-17 23:32:04 -04:00
alias dc="docker-compose"
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"
2015-08-04 10:00:16 -04:00
alias gb="git branch"
alias gbc="git branch --merged master | grep -v master | xargs git branch -d"
alias gbda="git branch | grep -v master | xargs git branch -D"
2016-08-13 16:06:49 -04:00
alias gbdm='git branch --merged | grep -v "\*" | grep -v master | grep -v dev | xargs -n 1 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"
2016-01-12 09:13:41 -05:00
alias gl="git lol"
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"
2015-11-03 16:44:21 -05:00
alias gmr="git most-recent-by-branch"
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"
2013-04-29 01:15:58 -04:00
alias grm="git rm"
2013-04-29 02:16:39 -04:00
alias gs="git status"
2016-09-23 14:40:59 -04:00
alias gup="git branch --merged | egrep -v '(^\*|master|dev)' | xargs git branch -d"
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'
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"
alias ls="ls --color=auto"
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"
alias mw="tmux new-session -A -s work"
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"
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"
alias sz="source ~/.zshrc"
2016-08-15 11:29:14 -04:00
alias pf="port-forward"
alias t="tmux new-session -A -s"
alias tf="tail -f"
alias tls="tmux list-sessions"
2013-04-29 01:25:52 -04:00
alias v="vim"
2013-07-28 00:41:18 -04:00
alias w="python -m SimpleHTTPServer"
2016-04-18 16:12:05 -04:00
alias wo="curl http://wttr.in/48912?m"
alias x="exit"