diff options
| author | zachir <zachir@librem.one> | 2024-06-06 15:16:14 -0500 |
|---|---|---|
| committer | zachir <zachir@librem.one> | 2024-06-06 15:32:40 -0500 |
| commit | 663699322c45f2c830e167d142d6b3579e849eb4 (patch) | |
| tree | c194a1b7ce5135e7f22a1e00a3b032737ce77df5 /zsh | |
| parent | 899297fc07bb6560b543741aff6c8d172429b090 (diff) | |
Install ZDOTDIR globally and load profile manually
This means I don't need to have either ~/.profile or ~/.zshenv symlinks
in the home directory. This adds in an installer to set that up.
Diffstat (limited to 'zsh')
| -rw-r--r-- | zsh/.zshenv | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv index b8c9d48..f02f83a 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -1,4 +1,5 @@ # ZSH SPECIFIC CONFIGS unset HISTFILE export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" +[ -f /etc/profile ] && . /etc/profile [ -f "$XDG_CONFIG_HOME/sh/profile" ] && . "$XDG_CONFIG_HOME/sh/profile" |
