.zshrc

Sun, 06 Sep 2015 21:20:23 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 06 Sep 2015 21:20:23 -0400
changeset 199
ecaa41f32b07
parent 195
390c49ee432d
child 223
521938eac8fe
permissions
-rw-r--r--

Add ctags-hook helper

94
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 # Path to your oh-my-zsh installation.
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 export ZSH=$HOME/.oh-my-zsh
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 ZSH_THEME="mhoward"
95
6c1ea6e90a23 zsh startup fixes
Meredith Howard <mhoward@roomag.org>
parents: 94
diff changeset
5 ZSH_CUSTOM=~/.oh-my-zsh.cust
94
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6
165
e109208ae2df disable auto update
Meredith Howard <mhoward@roomag.org>
parents: 138
diff changeset
7 DISABLE_AUTO_UPDATE="true"
e109208ae2df disable auto update
Meredith Howard <mhoward@roomag.org>
parents: 138
diff changeset
8 # DISABLE_UPDATE_PROMPT="true"
138
c033679345bd Update prompt is annoying
Meredith Howard <mhoward@roomag.org>
parents: 101
diff changeset
9
101
ed9cc9675e93 Actually the hg plugin is all aliases too
Meredith Howard <mhoward@roomag.org>
parents: 99
diff changeset
10 plugins=( common-aliases gitfast )
195
390c49ee432d DRY up my *env plugins
Meredith Howard <mhoward@roomag.org>
parents: 174
diff changeset
11 envthings=( plenv rbenv ndenv )
94
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12
95
6c1ea6e90a23 zsh startup fixes
Meredith Howard <mhoward@roomag.org>
parents: 94
diff changeset
13 if [ -f ~/.zshrc.local-pre ]; then
94
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14 source ~/.zshrc.local-pre
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 fi
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
17 # Uncomment the following line to disable auto-setting terminal title.
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
18 # DISABLE_AUTO_TITLE="true"
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
19
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
20 # Uncomment the following line to display red dots whilst waiting for completion.
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
21 # COMPLETION_WAITING_DOTS="true"
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
22
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
23 # Uncomment the following line if you want to disable marking untracked files
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
24 # under VCS as dirty. This makes repository status check for large repositories
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
25 # much, much faster.
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
26 # DISABLE_UNTRACKED_FILES_DIRTY="true"
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
27
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
28
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
29
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
30 source $ZSH/oh-my-zsh.sh
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
31
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
32 # User configuration
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
33
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
34 export PATH="$HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
35 # export MANPATH="/usr/local/man:$MANPATH"
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
36
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
37 # export LANG=en_US.UTF-8
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
38
174
d94a247836c8 move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents: 169
diff changeset
39 source ~/.profile.common
94
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
40
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
41 typeset -U path
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
42
195
390c49ee432d DRY up my *env plugins
Meredith Howard <mhoward@roomag.org>
parents: 174
diff changeset
43 for ENVTHING in $envthings; do
390c49ee432d DRY up my *env plugins
Meredith Howard <mhoward@roomag.org>
parents: 174
diff changeset
44 if [ -d ~/.$ENVTHING ]; then
390c49ee432d DRY up my *env plugins
Meredith Howard <mhoward@roomag.org>
parents: 174
diff changeset
45 path=( ~/.$ENVTHING/bin "$path[@]" )
390c49ee432d DRY up my *env plugins
Meredith Howard <mhoward@roomag.org>
parents: 174
diff changeset
46 eval "$($ENVTHING init - zsh)"
390c49ee432d DRY up my *env plugins
Meredith Howard <mhoward@roomag.org>
parents: 174
diff changeset
47 fi
390c49ee432d DRY up my *env plugins
Meredith Howard <mhoward@roomag.org>
parents: 174
diff changeset
48 done
94
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
49
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
50 if [ -f ~/.zshrc.local ]; then
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
51 source ~/.zshrc.local
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
52 fi
51ca19919894 Try to make setup easier, unify shell environments
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
53

mercurial