zsh: source .zshenv for system-specific configuration
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
zshrc=~/.zshrc
|
zshrc=~/.zshrc
|
||||||
|
zshenv=~/.zshenv
|
||||||
if [ -z $zshrc ]; then
|
if [ -z $zshrc ]; then
|
||||||
echo "Err: Cannot find dotfile directory."
|
echo "Err: Cannot find dotfile directory."
|
||||||
exit -1
|
exit -1
|
||||||
@@ -48,3 +49,10 @@ source $zsh_dir/commands.zsh
|
|||||||
# KEYBIND initialisation
|
# KEYBIND initialisation
|
||||||
|
|
||||||
source $zsh_dir/keybind.zsh
|
source $zsh_dir/keybind.zsh
|
||||||
|
|
||||||
|
|
||||||
|
# SYSTEM-SPECIFIC initialisation
|
||||||
|
|
||||||
|
if [ -z $zshenv ]; then
|
||||||
|
source $zshenv
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user