diff options
author | zachir <zachir@librem.one> | 2023-02-20 17:26:37 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-02-20 17:26:37 -0600 |
commit | 703a211294f8a2bdbd7f94ca40efec2bc1a230d2 (patch) | |
tree | ae95e9d295ad12cc0b37be139bc6eace5e49b0ec | |
parent | 763c1f5433c3b9e04cd616eecac5341794396e68 (diff) |
fix zshenv to only source nix-daemon if it exists
-rw-r--r-- | zsh/.zshenv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv index 00e9a51..d4241e5 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -76,4 +76,4 @@ export ENV="$XDG_CONFIG_HOME/mksh/mkshrc" export PATH="$HOME/.local/bin/generics:$HOME/.local/volsv:$HOME/.local/bin/shortcmds:$HOME/.local/bin/flatpak-sc:$HOME/.local/bin/scripts:$HOME/.local/bin/blocks:$HOME/.local/bin:$HOME/.local/share/flatpak/exports/bin/:$HOME/.local/bin/ignore:$HOME/.local/bin/testing:$CARGO_HOME/bin:$GOPATH/bin:/opt/REAPER:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" -. /etc/profile.d/nix-daemon.sh +[ -f /etc/profile.d/nix-daemon.sh ] && . /etc/profile.d/nix-daemon.sh |