bash: remove unnecessary (on guix system) env manipulations
authorAmin Bandali <bandali@gnu.org>
Mon, 5 Aug 2019 16:41:18 +0000 (12:41 -0400)
committerAmin Bandali <bandali@gnu.org>
Mon, 5 Aug 2019 16:41:18 +0000 (12:41 -0400)
.profile

index bed8ade..bf2741c 100644 (file)
--- a/.profile
+++ b/.profile
@@ -7,7 +7,6 @@ export VISUAL="emcl"
 
 PATH="$HOME/bin:$HOME/.local/bin:$PATH"
 PATH="$HOME/.cabal/bin:$HOME/.cargo/bin:$HOME/.elan/bin:$PATH"
-PATH="$HOME/.guix-profile/bin:$HOME/.guix-profile/sbin${PATH:+:}$PATH"
 export PATH
 
 export XDG_CONFIG_HOME="$HOME/.config"
@@ -21,9 +20,6 @@ export CVS_RSH="ssh"
 
 export GOPATH="$HOME/src/go"
 
-export GIT_EXEC_PATH="$HOME/.guix-profile/libexec/git-core"
-export PASSWORD_STORE_SYSTEM_EXTENSION_DIR="$HOME/.guix-profile/lib/password-store/extensions${PASSWORD_STORE_SYSTEM_EXTENSION_DIR:+:}$PASSWORD_STORE_SYSTEM_EXTENSION_DIR"
-
 # if running bash
 if [ -n "$BASH_VERSION" ]; then
     # include .bashrc if it exists
@@ -32,12 +28,6 @@ if [ -n "$BASH_VERSION" ]; then
     fi
 fi
 
-# if guix is installed
-if [ -x "$(command -v guix)" ]; then
-    GUIX_PROFILE="$HOME/.guix-profile"
-    . "$GUIX_PROFILE/etc/profile"
-fi
-
 setxkbmap \
     -layout us,ir \
     -option ctrl:nocaps \