X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=.bashrc;fp=.bashrc;h=c1dbd77fc6ab7a7182e3462c86b8c1baa31f1d16;hb=8d33c68549c02c45ed78a05f7de703a08ec245c6;hp=d8cbd978008030d1ca4fbbc6be9e982ff332da7e;hpb=3f6c5b1f2c72614ee8cb4d0e4325e7beddda9c04;p=distro-setup diff --git a/.bashrc b/.bashrc index d8cbd97..c1dbd77 100644 --- a/.bashrc +++ b/.bashrc @@ -103,3 +103,10 @@ return 0 ## BEGIN_KITTY_SHELL_INTEGRATION # if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; fi ## END_KITTY_SHELL_INTEGRATION + +# Automatically added by the Guix install script. +if [ -n "$GUIX_ENVIRONMENT" ]; then + if [[ $PS1 =~ (.*)"\\$" ]]; then + PS1="${BASH_REMATCH[1]} [env]\\\$ " + fi +fi