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