dotfiles/zsh/zshrc
2019-09-11 18:18:29 +03:00

20 lines
536 B
Bash
Executable file

#!/usr/bin/env zsh
ZSH_DOTFILES="${0:h}"
for script in functions path env plugins aliases zstyle zle prompt; do
source "$ZSH_DOTFILES/$script.zsh"
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"
[[ -n "$PS1" && -r "$BASE16_SHELL_profile_helper" ]] && eval "$("$BASE16_SHELL_profile_helper")"
setopt noclobber
welcome