Move zsh config to ~/.config
This commit is contained in:
parent
416ed81ceb
commit
81b70af9d3
6
.zshenv
6
.zshenv
@ -1,7 +1,11 @@
|
|||||||
## ~/.zshenv - Should contain commands to set the $PATH and other important environment variables
|
## ~/.zshenv - Should contain commands to set the $PATH and other important environment variables
|
||||||
|
|
||||||
|
# Set up XDG environment
|
||||||
|
export XDG_CONFIG_HOME=${$XDG_CONFIG_HOME:=${HOME}/.config}
|
||||||
|
|
||||||
# Where to look for zsh config
|
# Where to look for zsh config
|
||||||
ZDOTDIR=~/.zsh
|
export ZDOTDIR=${ZDOTDIR:=${XDG_CONFIG_HOME}/zsh}
|
||||||
|
source $ZDOTDIR/.zshenv
|
||||||
|
|
||||||
# Load config files in $ZSH/lib that for stage 1
|
# Load config files in $ZSH/lib that for stage 1
|
||||||
for config_file ($ZDOTDIR/lib/10-*.zsh) source $config_file
|
for config_file ($ZDOTDIR/lib/10-*.zsh) source $config_file
|
||||||
|
Loading…
Reference in New Issue
Block a user