aboutsummaryrefslogtreecommitdiffstats
path: root/home-dots/dot-zshrc
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2021-09-23 13:29:42 +0200
committerÓscar Nájera <hi@oscarnajera.com>2021-09-23 13:29:42 +0200
commitda0a2a5c50f6f805b5ad113dfcfdc71f54d6a1cb (patch)
tree304e18d81487dc36b5fdbe6f4913928d486d2bb2 /home-dots/dot-zshrc
parent65c128e447108b9b299b7fd3971695308a1fb1a0 (diff)
downloaddotfiles-da0a2a5c50f6f805b5ad113dfcfdc71f54d6a1cb.tar.gz
dotfiles-da0a2a5c50f6f805b5ad113dfcfdc71f54d6a1cb.tar.bz2
dotfiles-da0a2a5c50f6f805b5ad113dfcfdc71f54d6a1cb.zip
fix paths guix profiles
Diffstat (limited to 'home-dots/dot-zshrc')
-rw-r--r--home-dots/dot-zshrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/home-dots/dot-zshrc b/home-dots/dot-zshrc
index 32d0c6c..a5336c3 100644
--- a/home-dots/dot-zshrc
+++ b/home-dots/dot-zshrc
@@ -125,4 +125,5 @@ alias mykeys='setxkbmap -I$HOME/.config/xkb/ oscar -option caps:escape -print |
export PATH="$HOME/.cargo/bin:$PATH"
if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then . $HOME/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
[ -f "$HOME/.ghcup/env" ] && source "$HOME/.ghcup/env" # ghcup-env
-[ -e "$HOME/.guix-profile" ] && GUIX_PROFILE="$HOME/.guix-profile" && . "$GUIX_PROFILE/etc/profile"
+GUIX_PROFILE="$HOME/.guix-profile" && [ -e "$GUIX_PROFILE" ] && . "$GUIX_PROFILE/etc/profile" && export GUIX_LOCPATH=$GUIX_PROFILE/lib/locale
+GUIX_PROFILE="$HOME/.config/guix/current" && [ -e "$GUIX_PROFILE" ] && . "$GUIX_PROFILE/etc/profile"