0
|
1 # Path to your oh-my-zsh configuration.
|
|
2 ZSH=$HOME/.oh-my-zsh
|
|
3
|
|
4 # Set name of the theme to load.
|
|
5 # Look in ~/.oh-my-zsh/themes/
|
|
6 # Optionally, if you set this to "random", it'll load a random theme each
|
|
7 # time that oh-my-zsh is loaded.
|
|
8 ZSH_THEME="custom"
|
|
9
|
|
10 # Example aliases
|
|
11 # alias zshconfig="mate ~/.zshrc"
|
|
12 # alias ohmyzsh="mate ~/.oh-my-zsh"
|
|
13
|
|
14 # Set to this to use case-sensitive completion
|
|
15 # CASE_SENSITIVE="true"
|
|
16
|
|
17 # Comment this out to disable bi-weekly auto-update checks
|
|
18 # DISABLE_AUTO_UPDATE="true"
|
|
19
|
|
20 # Uncomment to change how many often would you like to wait before auto-updates occur? (in days)
|
|
21 # export UPDATE_ZSH_DAYS=13
|
|
22
|
|
23 # Uncomment following line if you want to disable colors in ls
|
|
24 # DISABLE_LS_COLORS="true"
|
|
25
|
|
26 # Uncomment following line if you want to disable autosetting terminal title.
|
|
27 # DISABLE_AUTO_TITLE="true"
|
|
28
|
|
29 # Uncomment following line if you want red dots to be displayed while waiting for completion
|
|
30 COMPLETION_WAITING_DOTS="true"
|
|
31
|
|
32 # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
|
33 # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
|
34 # Example format: plugins=(rails git textmate ruby lighthouse)
|
|
35 plugins=(git z textmate sublime ruby history-substring-search brew gitfast osx terminalapp tmuxinator vagrant web-search)
|
|
36
|
|
37 source $ZSH/oh-my-zsh.sh
|
|
38
|
|
39 # source $ZSH/plugins/history-substring-search/history-substring-search.zsh
|
|
40
|
|
41 # Customize to your needs...
|
|
42 export PATH=$PATH:/usr/local/opt/ruby/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/texbin:/usr/local/sbin
|
|
43 export PATH="/usr/local/bin:$PATH"
|
|
44 export PATH="$(brew --prefix ruby)/bin:$PATH"
|
|
45 export NODE_PATH="/usr/local/lib/node"
|
|
46 export PATH="/usr/local/share/npm/bin:$PATH"
|
|
47 export PATH="$HOME/.tmuxifier/bin:$PATH"
|
|
48 eval "$(rbenv init -)"
|
|
49 eval "$(tmuxifier init -)"
|
|
50
|
|
51
|
|
52 export GNUTERM=X11
|
|
53 export SVN_EDITOR=vim
|
|
54
|
|
55 export CLICOLOR=1
|
|
56 export LSCOLORS=GxFxCxDxBxegedabagaced
|
|
57
|
|
58 export EDITOR='vim'
|
|
59
|
|
60 export GREP_COLOR=32
|
|
61
|
|
62 export TMUXIFIER_LAYOUT_PATH="$HOME/.tmux-layouts"
|
|
63
|
|
64 # Shortcuts
|
|
65 alias blade="cd \"/Volumes/Blade 32GB/\""
|
|
66 alias p="~/Documents/projects"
|
|
67
|
|
68 # Commands
|
|
69 alias grep="grep --color=auto"
|
|
70 alias beer="bundle exec rake"
|
|
71 alias ll="ls -al"
|
|
72 alias mux="tmuxifier"
|
|
73
|
|
74 # Functions
|
|
75 gcat () {
|
|
76 cat $1 | egrep "$2|$"
|
|
77 }
|
|
78
|
|
79 # alias ctags='$(brew --prefix ctags)/bin/ctags'
|
|
80
|
|
81 # Disable Autocorrections
|
|
82 alias tmux='nocorrect tmux'
|
|
83 alias mvim="reattach-to-user-namespace mvim"
|
|
84 alias vim="reattach-to-user-namespace vim"
|
|
85 alias ag="ag --color"
|
|
86 # Syntax Highlighting
|
|
87 # source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|