bashrc.d: add guix.bash
This commit is contained in:
10
bashrc.d/guix.bash
Normal file
10
bashrc.d/guix.bash
Normal file
@@ -0,0 +1,10 @@
|
||||
which guix 1>/dev/null
|
||||
if [ $? -eq 0 ] ; then
|
||||
if [ -d "$HOME/.config/guix/" ] ; then
|
||||
GUIX_PROFILE="$HOME/.config/guix/current"
|
||||
. "$GUIX_PROFILE/etc/profile"
|
||||
else
|
||||
echo "No current GUIX_PROFILE."
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user