commit c3d5237923dd24625a9745a654a7bd9ba64281f5 parent db3967cd1ebed7a89cf5feeeb7c5eda078f07408 Author: Ed van Bruggen <ed@edryd.org> Date: Sun, 28 Dec 2025 23:58:56 -0500 bash: Add guix settings Diffstat:
| M | bashrc | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/bashrc b/bashrc @@ -171,3 +171,12 @@ alias wifi='sudo nmcli --ask dev wifi connect' # wifi wifi-name command -v bat >/dev/null 2>&1 && alias cat='bat --style "snip"' #}}} + +# Automatically added by the Guix install script. +if [ -n "$GUIX_ENVIRONMENT" ]; then + if [[ $PS1 =~ (.*)"\\$" ]]; then + PS1="${BASH_REMATCH[1]} [env]\\\$ " + fi +fi +export GUIX_PROFILE="$HOME/.config/guix/current" +. "$GUIX_PROFILE/etc/profile"