summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-20 17:26:37 -0600
committerzachir <zachir@librem.one>2023-02-20 17:26:37 -0600
commit703a211294f8a2bdbd7f94ca40efec2bc1a230d2 (patch)
treeae95e9d295ad12cc0b37be139bc6eace5e49b0ec /zsh
parent763c1f5433c3b9e04cd616eecac5341794396e68 (diff)
fix zshenv to only source nix-daemon if it exists
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshenv2
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