diff options
author | zachir <zachir@librem.one> | 2025-07-19 22:43:50 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2025-07-19 22:44:22 -0500 |
commit | 1e976efb21acb4a4e1046dd97e89307bba5e6baf (patch) | |
tree | 65434ca986889ae8046be54412a4ced8f518522b /zsh/.zshenv | |
parent | 3d3d9d5bdffcad1f32b99246591b9a03c4efe2ef (diff) |
Add optimization to zsh loading
It requires using ZDOTDIR again
Diffstat (limited to 'zsh/.zshenv')
-rw-r--r-- | zsh/.zshenv | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv new file mode 100644 index 0000000..3719ef4 --- /dev/null +++ b/zsh/.zshenv @@ -0,0 +1,7 @@ +# ZSH SPECIFIC CONFIGS +unset HISTFILE +export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" +export skip_global_compinit=1 +fpath=($XDG_CONFIG_HOME/functions $fpath) +[ -f /etc/profile ] && . /etc/profile +[ -f "$XDG_CONFIG_HOME/sh/profile" ] && . "$XDG_CONFIG_HOME/sh/profile" |