.zshrc

changeset 964
72a7a0ffbce8
parent 950
7980dce66a7a
child 1001
0597cb8f2d07
equal deleted inserted replaced
963:3f9185b6a5e3 964:72a7a0ffbce8
1 typeset -U omz_plugins zsh_plugins envthings 1 typeset -U omz_plugins zsh_plugins envthings
2
3 # Version/environment management tools to load
4 envthings=(plenv rakudobrew)
5 2
6 DISABLE_AUTO_UPDATE="true" 3 DISABLE_AUTO_UPDATE="true"
7 # DISABLE_AUTO_TITLE="true" 4 # DISABLE_AUTO_TITLE="true"
8 COMPLETION_WAITING_DOTS="true" 5 COMPLETION_WAITING_DOTS="true"
9 DISABLE_UNTRACKED_FILES_DIRTY="true" 6 DISABLE_UNTRACKED_FILES_DIRTY="true"
63 [[ -n "${terminfo[knp]}" ]] && bindkey -- "${terminfo[knp]}" end-of-buffer-or-history 60 [[ -n "${terminfo[knp]}" ]] && bindkey -- "${terminfo[knp]}" end-of-buffer-or-history
64 [[ -n "${terminfo[kcbt]}" ]] && bindkey -- "${terminfo[kcbt]}" reverse-menu-complete 61 [[ -n "${terminfo[kcbt]}" ]] && bindkey -- "${terminfo[kcbt]}" reverse-menu-complete
65 62
66 source ~/.profile.common 63 source ~/.profile.common
67 64
68 for envthing in $envthings; do
69 if [ -d ~/.$envthing ]; then
70 path[1,0]="$HOME/.$envthing/bin"
71 eval "$($envthing init - zsh)"
72 fi
73 done
74
75 if [ -f ~/.zshrc.local ]; then 65 if [ -f ~/.zshrc.local ]; then
76 source ~/.zshrc.local 66 source ~/.zshrc.local
77 fi 67 fi
78 68

mercurial