Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.83 KB | None | 0 0
  1. # Path to your oh-my-zsh installation.
  2. export ZSH=/Users/Kurt/.oh-my-zsh
  3.  
  4. ZSH_THEME=pygmalion
  5.  
  6. # The optional three date formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
  7. HIST_STAMPS="yyyy-mm-dd"
  8.  
  9. plugins=(vi-mode)
  10.  
  11. export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin"
  12. export PATH="$PATH:/usr/local/git/bin"
  13. export PATH="$PATH:/usr/local/heroku/bin"
  14. export PATH="$PATH:/Applications/Postgres.app/Contents/Versions/9.4/bin"
  15. export PATH="$PATH:/Applications/Sublime Text.app/Contents/SharedSupport/bin"
  16. export EDITOR="subl -w"
  17. export NODE_ENV=development
  18.  
  19. source $ZSH/oh-my-zsh.sh
  20.  
  21. alias showFiles="defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app"
  22. alias hideFiles="defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app"
  23.  
  24. alias prof="subl ~/.zshrc"
  25. alias reprof=". ~/.zshrc"
  26.  
  27. alias ls='ls -GFh'
  28.  
  29. alias code="cd ~/code/"
  30.  
  31. alias dockerm="docker-machine"
  32. alias dockerc="docker-compose"
  33.  
  34. dockermenv () {
  35. eval "$(docker-machine env $1)"
  36. }
  37.  
  38. dockerrm () {
  39. docker rm -f $(docker ps -aq)
  40. }
  41.  
  42. dockerrmi () {
  43. docker rmi -f $(docker images -f "dangling=true" -q)
  44. }
  45.  
  46. alias tutum="docker run -it -v /usr/bin/docker:/usr/bin/docker -v /var/run/docker.sock:/var/run/docker.sock -e TUTUM_USER=kweiberth -e TUTUM_APIKEY=f8be9c14623068f18f02891dd3e6ed59e6490c4ef04c66dc --rm tutum/cli"
  47.  
  48. alias aws="docker run --rm -it -v /Users/Kurt/.awscreds:/root/.aws -v /Users/Kurt/mongodbbackup:/mongodbbackup alexturek/aws-cli-docker"
  49.  
  50. alias gs="git status"
  51. alias gd="git diff"
  52. alias ga="git add"
  53. alias gc="git commit"
  54. alias gch="git checkout"
  55. alias gchb="git checkout -b"
  56. alias gchm="git checkout master"
  57. alias gb="git branch"
  58. alias gp="git push"
  59. alias gpo="git push origin"
  60. alias gphm="git push heroku master"
  61. alias gpom="git push origin master"
  62. alias gpum="git pull upstream master"
  63. alias gprum="git pull --rebase upstream master"
  64. alias gprud="git pull --rebase upstream dev"
  65. alias ghist="git log --pretty=format:'%Cblue%h%Creset %Cgreen%ad%Creset | %s%C(yellow)%d%Creset [%an]' --graph --date=short --decorate"
  66. alias gcl="git clone"
  67. alias gm="git merge"
  68. alias grb="git rebase"
  69. alias grbm="git rebase master"
  70. alias grv="git remote -v"
  71.  
  72. alias npmi="npm install"
  73. alias npmis="npm install --save"
  74. alias npmig="npm install -g"
  75.  
  76. chrome () {
  77. open -a "Google Chrome" "$1"
  78. }
  79.  
  80. # Uncomment the following line to use case-sensitive completion.
  81. # CASE_SENSITIVE="true"
  82.  
  83. # Uncomment the following line to use hyphen-insensitive completion. Case
  84. # sensitive completion must be off. _ and - will be interchangeable.
  85. # HYPHEN_INSENSITIVE="true"
  86.  
  87. # Uncomment the following line to disable bi-weekly auto-update checks.
  88. # DISABLE_AUTO_UPDATE="true"
  89.  
  90. # Uncomment the following line to change how often to auto-update (in days).
  91. # export UPDATE_ZSH_DAYS=13
  92.  
  93. # Uncomment the following line to disable colors in ls.
  94. # DISABLE_LS_COLORS="true"
  95.  
  96. # Uncomment the following line to disable auto-setting terminal title.
  97. # DISABLE_AUTO_TITLE="true"
  98.  
  99. # Uncomment the following line to enable command auto-correction.
  100. # ENABLE_CORRECTION="true"
  101.  
  102. # Uncomment the following line to display red dots whilst waiting for completion.
  103. # COMPLETION_WAITING_DOTS="true"
  104.  
  105. # Uncomment the following line if you want to disable marking untracked files
  106. # under VCS as dirty. This makes repository status check for large repositories
  107. # much, much faster.
  108. # DISABLE_UNTRACKED_FILES_DIRTY="true"
  109.  
  110. # Would you like to use another custom folder than $ZSH/custom?
  111. # ZSH_CUSTOM=/path/to/new-custom-folder
  112.  
  113. # You may need to manually set your language environment
  114. # export LANG=en_US.UTF-8
  115.  
  116. # Preferred editor for local and remote sessions
  117. # if [[ -n $SSH_CONNECTION ]]; then
  118. # export EDITOR='vim'
  119. # else
  120. # export EDITOR='mvim'
  121. # fi
  122.  
  123. # Compilation flags
  124. # export ARCHFLAGS="-arch x86_64"
  125.  
  126. # ssh
  127. # export SSH_KEY_PATH="~/.ssh/dsa_id"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement