summaryrefslogtreecommitdiff
path: root/dotfiles/.bash_profile
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2023-08-10 08:39:32 -0400
committerDavid Thompson <dthompson2@worcester.edu>2023-08-10 08:39:32 -0400
commita6ab188c3c9b40e14e3122aea1c70f14c2b4b9bb (patch)
treee492a920f995959558f75e1a5c6dacfe30bca2bc /dotfiles/.bash_profile
parentdd8f0231f0605ca8fc9806a5a102a289f5a51a3e (diff)
Add rise configs.
Diffstat (limited to 'dotfiles/.bash_profile')
-rw-r--r--dotfiles/.bash_profile14
1 files changed, 14 insertions, 0 deletions
diff --git a/dotfiles/.bash_profile b/dotfiles/.bash_profile
new file mode 100644
index 0000000..7736e39
--- /dev/null
+++ b/dotfiles/.bash_profile
@@ -0,0 +1,14 @@
+# Set up Guix Home profile
+if [ -f ~/.profile ]; then . ~/.profile; fi
+
+# Honor per-interactive-shell startup file
+if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
+
+# Merge search-paths from multiple profiles, the order matters.
+eval "$(guix package --search-paths \
+-p $HOME/.config/guix/current \
+-p $HOME/.guix-profile \
+-p /run/current-system/profile)"
+
+# Prepend setuid programs.
+export PATH=/run/setuid-programs:$PATH