From 703a211294f8a2bdbd7f94ca40efec2bc1a230d2 Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 20 Feb 2023 17:26:37 -0600 Subject: fix zshenv to only source nix-daemon if it exists --- zsh/.zshenv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zsh') 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 -- cgit v1.2.3