shavenwarthog

~/.bash_profile for OSX Django

Dec 15th, 2014
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.11 KB | None | 0 0
  1. # -*- shell-script -*-
  2.  
  3. # :::::::::::::::::::::::::::::::::::::::::::::::::: COMPLETIONS
  4. . `brew --repository`/Library/Contributions/brew_bash_completion.sh
  5. . /Users/johnm/src/hatbox/shell/django_bash_completion
  6. . /Library/Developer/CommandLineTools/usr/share/git-core/git-completion.bash
  7. . /usr/local/etc/bash_completion.d/git-flow-completion.bash
  8. eval "$(grunt --completion=bash)"
  9. # /usr/local/etc/bash_completion.d/npm
  10.  
  11. complete -o default -o nospace -W "$(/usr/bin/env ruby -ne 'puts $_.split(/[,\s]+/)[1..-1].reject{|host| host.match(/\*|\?/)} if $_.match(/^\s*Host\s+/);' < $HOME/.ssh/config)" scp sftp ssh
  12.  
  13.  
  14. # :::::::::::::::::::::::::::::::::::::::::::::::::: ENV
  15.  
  16. export PATH=~/src/hatbox/bin:$PATH
  17.  
  18.  
  19. # :::::::::::::::::::::::::::::::::::::::::::::::::: ALIASES
  20.  
  21. alias ap='ack --py'
  22. alias c='commit.py'
  23. alias ls='ls -CF'
  24.  
  25. alias gb='git branch'
  26. alias gc='git commit'
  27. alias gcb='git checkout -b'
  28. alias gcm='git commit -m'
  29. alias gd='git diff'
  30. alias gdh='git diff HEAD^'
  31. alias gds='git diff --stat'
  32. alias gg='git log --oneline --abbrev-commit --all --graph --decorate --color'
  33. alias gst='git status'
Advertisement
Add Comment
Please, Sign In to add comment