diff --git a/zsh.nix b/zsh.nix index c733227..6451ab2 100644 --- a/zsh.nix +++ b/zsh.nix @@ -12,8 +12,9 @@ initExtra = '' . "$HOME/.cargo/env" export GUIX_PROFILE="/home/nora/.config/guix/current" - . "$GUIX_PROFILE/etc/profile" - export PATH="$HOME/.bin:$HOME/.local/bin:$PATH" + if [[ -f "$GUIX_PROFILE/etc/profile" ]]; then + . "$GUIX_PROFILE/etc/profile" + fi fortune ''; };