Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. export PATH="/usr/local/bin:$PATH"
  4.  
  5. if [ -f `brew --prefix`/etc/bash_completion ]; then
  6. . `brew --prefix`/etc/bash_completion
  7. fi
  8.  
  9. PS1="(╯°□°)╯︵[\w] 𝝺: "
  10.  
  11. alias .="ls -la"
  12. alias ..="cd .."
  13. alias ...="cd ../.."
  14. alias c="clear"
  15. alias "nuke"="rm -rf"
  16. alias gl='git log --pretty=format:'\''%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'\'' --abbrev-commit'
  17.  
  18. function parse_git_branch() {
  19. git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
  20. }
  21.  
  22. alias lock='/System/Library/CoreServices/"Menu Extras"/User.menu/Contents/Resources/CGSession -suspend'
  23. alias reload='source ~/.bash_profile'
  24. alias grep='grep --color'
  25. alias show_system_files='defaults write com.apple.finder AppleShowAllFiles YES && killall Finder'
  26. alias hide_system_files='defaults write com.apple.finder AppleShowAllFiles NO && killall Finder'
  27. alias gs='git status'
  28. alias ga='git add -u .'
  29. alias gb='git branch'
  30. alias gc='git commit'
  31. alias gd='git diff'
  32. alias go='git checkout '
  33. alias gk='gitk'
  34.  
  35. alias cleanb='git remote prune origin'
  36.  
  37. alias fwd="cd ~/Developer/fwd-api"
  38. alias "fwd-web"="cd ~/Developer/fwd-web"
  39.  
  40. alias "fast-app"="cd ~/Developer/fast-friends-app/src"
  41. alias "fast-api"="cd ~/Developer/fast-friends-server"
  42.  
  43. alias "j-checkins"="cd ~/Developer/north-dakota-checkins"
  44.  
  45. alias "ebash"="vim ~/.bash_profile"
  46. alias "sbash"="source ~/.bash_profile"
  47.  
  48. alias "speed"="speedtest-cli"
  49.  
  50. alias "proxy-login"="ssh -i \"~/.ssh/keys/s3-proxy.pem\" ec2-user@ec2-54-85-108-175.compute-1.amazonaws.com"
  51. alias "s3-proxy-login"="ssh -i \"~/.ssh/keys/s3-proxy.pem\" ec2-user@ec2-54-165-71-161.compute-1.amazonaws.com"
  52.  
  53. export PATH=$PATH:/Users/alexsheehan/.local/bin
  54.  
  55. # psql
  56. export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.4/bin
  57.  
  58. # FWD:Everyone Docker config
  59. export DOCKER_HOST=tcp://192.168.99.100:2376
  60. export DOCKER_MACHINE_NAME=default
  61. export DOCKER_CERT_PATH=/Users/alexsheehan/.docker/machine/machines/default
  62. export DOCKER_TLS_VERIFY=1
  63.  
  64. # Wireshark
  65. export PATH=/usr/local/opt/qt5/bin:$PATH
  66.  
  67. # Python for Powerline
  68. PATH="/usr/local/share/python/:$PATH"
  69.  
  70. # The Fuck
  71. alias fuck='$(thefuck $(fc -ln -1))'
  72.  
  73. export VISUAL=vim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement