diff --git a/zsh/path.zsh b/zsh/path.zsh index dc4bdd5..56628cd 100644 --- a/zsh/path.zsh +++ b/zsh/path.zsh @@ -59,6 +59,3 @@ if [[ -f "$rustc" && -x "$rustc" ]] && rust_sysroot="$("$rustc" --print sysroot) manpath=("$rust_sysroot/share/man" "${manpath[@]}") fi unset rustc rust_sysroot - -# add colon after MANPATH so that it doesn't overwrite system MANPATH -MANPATH="$MANPATH:" diff --git a/zsh/zshrc b/zsh/zshrc index 150427d..2dfd016 100755 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -7,6 +7,9 @@ for script in functions path env plugins aliases palette theme; do source_if_exists "$ZSH_DOTFILES/custom/$script.zsh" done +# add colon after MANPATH so that it doesn't overwrite system MANPATH +MANPATH="$MANPATH:" + command_exists rbenv && eval "$(rbenv init -)" BASE16_SHELL_profile_helper="$BASE16_SHELL/profile_helper.sh"