Andrew Tomaka
a346261b61
From `man tmux` The -A flag makes new-session behave like attach-session if session-name already exists; in the case, -D behaves like -d to attach-session.
101 lines
3 KiB
Text
101 lines
3 KiB
Text
alias ..="cd .."
|
|
alias ...="cd ../.."
|
|
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 b="bundle"
|
|
alias be="bundle exec"
|
|
alias bea="bundle exec rails"
|
|
alias beg="bundle exec guard"
|
|
alias bej="bundle exec jekyll"
|
|
alias ber="bundle exec rake"
|
|
alias bet="bundle exec rspec"
|
|
alias betd="bundle exec rspec --format documentation"
|
|
alias c="clear"
|
|
alias f="map-sshfs"
|
|
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 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"
|
|
alias gc="git commit"
|
|
alias gca="git commit --amend"
|
|
alias gcm="echo Do not specify message at command line. Use gc"
|
|
alias gco="git checkout"
|
|
alias gd="git diff"
|
|
alias gdc="git diff --cached"
|
|
alias gdm='git branch --merged | grep -v "\*" | grep -v master | grep -v dev | xargs -n 1 git branch -d'
|
|
alias gds="git diff --stat"
|
|
alias gdss="git diff --shortstat"
|
|
alias gfa="git-date-added"
|
|
alias gfl="git log --patch"
|
|
alias gi="gitignore-io"
|
|
alias gl="git log"
|
|
alias gh="git hist"
|
|
alias ghd="git hist-details"
|
|
alias ght="git hist-tags"
|
|
alias gmr="git most-recent-by-branch"
|
|
alias gp="git push"
|
|
alias gpf="git push --force"
|
|
alias gpl="git pull"
|
|
alias gpo="git push -u origin"
|
|
alias gpu="git push -u upstream"
|
|
alias gr="git reset"
|
|
alias grb="git rebase"
|
|
alias grba="git rebase --abort"
|
|
alias grbc="git rebase --continue"
|
|
alias grbi="git rebase --interactive"
|
|
alias grc="git rm --cached"
|
|
alias grh="git reset --hard"
|
|
alias gri="echo Use grbi"
|
|
alias grm="git rm"
|
|
alias gs="git status"
|
|
alias gup="git remote update --prune"
|
|
alias gw="git diff --check"
|
|
alias Grep='grep'
|
|
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'
|
|
alias jb="./gradlew"
|
|
alias jbd="./gradlew dependencies"
|
|
alias jbr="./gradlew run"
|
|
alias jbt="./gradlew test"
|
|
alias l="ls"
|
|
alias ll="ls -lv --human-readable --color=auto"
|
|
alias lp="librarian-puppet"
|
|
alias ls="ls --color=auto"
|
|
alias m="more"
|
|
alias md="cd ~/dotfiles > /dev/null 2>&1; make; cd -1 > /dev/null 2>&1"
|
|
alias mf="mkdir"
|
|
alias ms="tmux -S /tmp/pair && chmod 777 /tmp/pair"
|
|
alias mw="tmux new-session -A -s work"
|
|
alias p="sudo"
|
|
alias pf="port-forward"
|
|
alias r="ssh"
|
|
alias rd="popd"
|
|
alias rs="bundle exec rspec"
|
|
alias s="cd ~/Source"
|
|
alias sci="ssh-copy-id -i .ssh/id_rsa.pub"
|
|
alias sd="pwd | pushd"
|
|
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 vr="vagrant reload"
|
|
alias vs="vagrant status"
|
|
alias vssh="vagrant ssh"
|
|
alias vu="vagrant up"
|
|
alias w="python -m SimpleHTTPServer"
|
|
alias x="exit"
|