zsh: split local config into zprofile and zshrc
This commit is contained in:
parent
2bc0bfc4da
commit
c6750c86c5
2 changed files with 6 additions and 1 deletions
|
@ -120,3 +120,8 @@ if [ -n "$(uname -r | sed -n 's/.*\( *Microsoft *\).*/\1/ip')" ]; then
|
|||
fi
|
||||
unset xdisplay
|
||||
fi
|
||||
|
||||
# Load additional local configuration if present.
|
||||
local_profile="$HOME/.local/etc/zsh/zprofile"
|
||||
[ -r "$local_profile" ] && source "$local_profile"
|
||||
unset local_profile
|
||||
|
|
|
@ -19,7 +19,7 @@ done
|
|||
unset filepath
|
||||
|
||||
# Load additional local configuration if present.
|
||||
local_config="$HOME/.local/etc/zsh/config.zsh"
|
||||
local_config="$HOME/.local/etc/zsh/zshrc"
|
||||
[ -r "$local_config" ] && source "$local_config"
|
||||
unset local_config
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue