More robust ZSH config

This commit is contained in:
Leonora Tindall 2024-08-31 18:29:27 -05:00
parent 90ac84a759
commit 529a55c96c
1 changed files with 6 additions and 1 deletions

View File

@ -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"