Makes zshrc source environment variables if not already set
This commit is contained in:
parent
30a7bb58b8
commit
f1d08e4f2a
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue