.zshrc

changeset 243
9315299c4adc
parent 242
8724c8ed6150
child 244
721455edd12b
equal deleted inserted replaced
242:8724c8ed6150 243:9315299c4adc
4 DISABLE_AUTO_UPDATE="true" 4 DISABLE_AUTO_UPDATE="true"
5 # DISABLE_AUTO_TITLE="true" 5 # DISABLE_AUTO_TITLE="true"
6 COMPLETION_WAITING_DOTS="true" 6 COMPLETION_WAITING_DOTS="true"
7 DISABLE_UNTRACKED_FILES_DIRTY="true" 7 DISABLE_UNTRACKED_FILES_DIRTY="true"
8 8
9 typeset -U path 9 typeset -U path omz_plugins zsh_plugins
10
11 omz_plugins=(
12 plugins/common-aliases
13 plugins/gitfast
14 plugins/colored-man-pages
15 )
16
17 zsh_plugins=(
18 zsh-users/zsh-syntax-highlighting
19 ~/.oh-my-zsh.cust/themes/mhoward
20 )
10 21
11 if [ -f ~/.zshrc.local-pre ]; then 22 if [ -f ~/.zshrc.local-pre ]; then
12 source ~/.zshrc.local-pre 23 source ~/.zshrc.local-pre
13 fi 24 fi
14 25
15 if [ -f ~/.zgen/zgen.zsh ]; then 26 if [ -f ~/.zgen/zgen.zsh ]; then
16 source ~/.zgen/zgen.zsh 27 source ~/.zgen/zgen.zsh
17 28
18 if ! zgen saved; then 29 if ! zgen saved; then
19 zgen oh-my-zsh 30 zgen oh-my-zsh
20 zgen oh-my-zsh plugins/common-aliases 31 for plugin in $omz_plugins[@]; do zgen oh-my-zsh $plugin; done
21 zgen oh-my-zsh plugins/gitfast
22 zgen oh-my-zsh plugins/colored-man-pages
23 32
24 zgen load zsh-users/zsh-syntax-highlighting 33 for plugin in $zsh_plugins[@]; do zgen load $plugin; done
25 zgen load ~/.oh-my-zsh.cust/themes/mhoward
26
27 zgen save 34 zgen save
28 fi 35 fi
29 fi 36 fi
30 37
31 # User configuration 38 # User configuration
32 path=( "$HOME/bin" "$path[@]" ) 39 path=("$HOME/bin" "$path[@]")
33 40
34 source ~/.profile.common 41 source ~/.profile.common
35 42
36 for ENVTHING in $envthings; do 43 for ENVTHING in $envthings; do
37 if [ -d ~/.$ENVTHING ]; then 44 if [ -d ~/.$ENVTHING ]; then

mercurial