More robust ZSH config
This commit is contained in:
parent
90ac84a759
commit
529a55c96c
7
zsh.nix
7
zsh.nix
|
@ -10,7 +10,12 @@
|
|||
enableCompletion = true;
|
||||
enableVteIntegration = true;
|
||||
initExtra = ''
|
||||
. "$HOME/.cargo/env"
|
||||
# load Cargo
|
||||
if [ -f "$HOME/.cargo/env ]; then
|
||||
. "$HOME/.cargo/env"
|
||||
fi
|
||||
|
||||
# load Guix
|
||||
export GUIX_PROFILE="/home/nora/.config/guix/current"
|
||||
if [[ -f "$GUIX_PROFILE/etc/profile" ]]; then
|
||||
. "$GUIX_PROFILE/etc/profile"
|
||||
|
|
Loading…
Reference in New Issue