Mercurial > dotfiles.old
annotate zshrc @ 11:f9f04cee7f51
Add gitignore plugin to zsh
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sun, 09 Mar 2014 19:45:06 +0100 |
parents | d20278638011 |
children | 2da8d8daa033 |
rev | line source |
---|---|
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) | |
11 | 35 plugins=(git z textmate sublime ruby history-substring-search brew gitfast osx terminalapp vagrant web-search gitignore) |
0 | 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" | |
6 | 47 export PATH=$PATH:$HOME/.bin |
0 | 48 eval "$(rbenv init -)" |
49 | |
50 | |
51 export GNUTERM=X11 | |
52 export SVN_EDITOR=vim | |
53 | |
54 export CLICOLOR=1 | |
55 export LSCOLORS=GxFxCxDxBxegedabagaced | |
56 | |
57 export EDITOR='vim' | |
58 | |
59 export GREP_COLOR=32 | |
60 | |
61 # Shortcuts | |
62 alias blade="cd \"/Volumes/Blade 32GB/\"" | |
63 alias p="~/Documents/projects" | |
64 | |
65 # Commands | |
66 alias grep="grep --color=auto" | |
67 alias beer="bundle exec rake" | |
68 alias ll="ls -al" | |
69 | |
70 # Functions | |
71 gcat () { | |
72 cat $1 | egrep "$2|$" | |
73 } | |
74 | |
75 # alias ctags='$(brew --prefix ctags)/bin/ctags' | |
76 | |
77 # Disable Autocorrections | |
78 alias tmux='nocorrect tmux' | |
79 alias mvim="reattach-to-user-namespace mvim" | |
80 alias vim="reattach-to-user-namespace vim" | |
81 alias ag="ag --color" | |
8 | 82 |
83 compctl -g '~/.teamocil/*(:t:r)' teamocil | |
84 | |
3
44d3af8838f8
Add support for local zshrc and vimrc files
zegervdv <zegervdv@me.com>
parents:
0
diff
changeset
|
85 [[ -f ~/.zshrc.local ]] && source ~/.zshrc.local |