Makes zshrc source environment variables if not already set

This commit is contained in:
Jonathan Hodgson 2020-03-30 17:55:25 +01:00
parent 30a7bb58b8
commit f1d08e4f2a

View file

@ -5,6 +5,8 @@ autoload -U colors && colors
# Make sure we are using vi mode # Make sure we are using vi mode
bindkey -v bindkey -v
[ -z "$DOTFILES" ] && source ~/.dotfiles/shells/shared/environmentVariables
# History in cache directory: # History in cache directory:
setopt INC_APPEND_HISTORY # Write to the history file immediately, not when the shell exits. setopt INC_APPEND_HISTORY # Write to the history file immediately, not when the shell exits.
setopt SHARE_HISTORY # Share history between all sessions. setopt SHARE_HISTORY # Share history between all sessions.