Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (45 sloc) 1.49 KB
alias glg='git log --graph --full-history --all --color --pretty=format:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s"'
alias subl=st
# .zshrc's `l` is special, but I hate where it is on the keyboard
alias k=l
alias tmuxk="tmux kill-session -t"
alias tmuxa="tmux a -t"
alias tmuxn="tmux new -s"
alias penvn="pyenv virtualenv"
alias penva="pyenv activate"
alias penvk="pyenv uninstall"
alias voce='say -v Alice '
alias cronn='env EDITOR=nano crontab -e'
alias cronl='crontab -l'
alias diff="colordiff"
alias jlist="jupyter notebook list"
alias omscs="cd ~/Documents/omscs"
alias t="todo.sh -d ~/.dotfiles/system/.todo"
alias ta="t add $(date +%Y-%m-%d)"
alias td="t do"
alias tls="t ls"
alias tdone="cat ~/todo/done.txt"
alias ports="lsof -Pan -i tcp -i udp"
alias spo="spotify"
alias spoa="spotify album"
alias spoart="spotify artist"
alias dw="spotify play uri $DISCOVER_WEEKLY_URI"
# http://www.the-efficient-programmer.com/shell/some-grep-tips.html
alias grr="grep --recursive --line-number \
--exclude-dir=.git --exclude-dir=.svn \
--exclude='*.o' --exclude='*.pyc'"
alias -g G='| grep'
# https://gist.github.com/dciccale/556083
alias gc="git checkout"
alias gcm="git checkout master"
alias gcd="git checkout develop"
alias gb="git branch"
alias gmm="git merge master"
alias gmd="git merge develop"
alias gpom="git push -u origin master"
alias gaa="git add ."
alias gs="git status"
alias gd="git diff"
# Ruby stuff?!
alias rubocop_diff='bundle exec rake test:diff:rubocop'
export JOBLIB_START_METHOD="forkserver"