Mercurial > dotfiles.old
annotate zshrc @ 67:fd46739dc0bb
Add session
author | zegervdv <zegervdv@me.com> |
---|---|
date | Wed, 25 Jun 2014 15:41:41 +0200 |
parents | 63f450f5c3fb |
children | d02e50a46edd |
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" | |
32
2da8d8daa033
Add remaps to vim and aliases to zsh
zegervdv <zegervdv@me.com>
parents:
11
diff
changeset
|
9 setopt correct_all |
2da8d8daa033
Add remaps to vim and aliases to zsh
zegervdv <zegervdv@me.com>
parents:
11
diff
changeset
|
10 |
0 | 11 # Example aliases |
12 # alias zshconfig="mate ~/.zshrc" | |
13 # alias ohmyzsh="mate ~/.oh-my-zsh" | |
14 | |
15 # Set to this to use case-sensitive completion | |
16 # CASE_SENSITIVE="true" | |
17 | |
18 # Comment this out to disable bi-weekly auto-update checks | |
19 # DISABLE_AUTO_UPDATE="true" | |
20 | |
21 # Uncomment to change how many often would you like to wait before auto-updates occur? (in days) | |
22 # export UPDATE_ZSH_DAYS=13 | |
23 | |
24 # Uncomment following line if you want to disable colors in ls | |
25 # DISABLE_LS_COLORS="true" | |
26 | |
27 # Uncomment following line if you want to disable autosetting terminal title. | |
28 # DISABLE_AUTO_TITLE="true" | |
29 | |
30 # Uncomment following line if you want red dots to be displayed while waiting for completion | |
31 COMPLETION_WAITING_DOTS="true" | |
32 | |
33 # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) | |
34 # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ | |
35 # Example format: plugins=(rails git textmate ruby lighthouse) | |
32
2da8d8daa033
Add remaps to vim and aliases to zsh
zegervdv <zegervdv@me.com>
parents:
11
diff
changeset
|
36 plugins=(git z textmate sublime ruby history-substring-search brew gitfast osx terminalapp vagrant web-search gitignore brew-cask rake-fast) |
0 | 37 |
38 source $ZSH/oh-my-zsh.sh | |
39 | |
40 # source $ZSH/plugins/history-substring-search/history-substring-search.zsh | |
41 | |
42 # Customize to your needs... | |
43 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 | |
44 export PATH="/usr/local/bin:$PATH" | |
45 export PATH="$(brew --prefix ruby)/bin:$PATH" | |
46 export NODE_PATH="/usr/local/lib/node" | |
47 export PATH="/usr/local/share/npm/bin:$PATH" | |
6 | 48 export PATH=$PATH:$HOME/.bin |
0 | 49 eval "$(rbenv 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 # Shortcuts | |
63 alias blade="cd \"/Volumes/Blade 32GB/\"" | |
64 alias p="~/Documents/projects" | |
65 | |
66 # Commands | |
67 alias grep="grep --color=auto" | |
68 alias beer="bundle exec rake" | |
69 alias ll="ls -al" | |
32
2da8d8daa033
Add remaps to vim and aliases to zsh
zegervdv <zegervdv@me.com>
parents:
11
diff
changeset
|
70 alias l="ls -l" |
2da8d8daa033
Add remaps to vim and aliases to zsh
zegervdv <zegervdv@me.com>
parents:
11
diff
changeset
|
71 alias gsl="git sl" |
0 | 72 |
73 # Functions | |
74 gcat () { | |
75 cat $1 | egrep "$2|$" | |
76 } | |
77 | |
78 # alias ctags='$(brew --prefix ctags)/bin/ctags' | |
79 | |
80 # Disable Autocorrections | |
81 alias tmux='nocorrect tmux' | |
82 alias mvim="reattach-to-user-namespace mvim" | |
83 alias vim="reattach-to-user-namespace vim" | |
84 alias ag="ag --color" | |
8 | 85 |
86 compctl -g '~/.teamocil/*(:t:r)' teamocil | |
87 | |
3
44d3af8838f8
Add support for local zshrc and vimrc files
zegervdv <zegervdv@me.com>
parents:
0
diff
changeset
|
88 [[ -f ~/.zshrc.local ]] && source ~/.zshrc.local |
35 | 89 |
67 | 90 source ~/.fzf.zsh |