aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-08-24 19:32:53 -0300
committerEuAndreh <eu@euandre.org>2022-08-24 19:32:53 -0300
commit4b3849eb18a95d93240258262350e8fcf1b63dd5 (patch)
tree44dc4b2e894adda1e28ad788e3a72a9e60d4dd86
parentetc/sh/rc: Separate interactive from non-interactive section with an early re... (diff)
downloaddotfiles-4b3849eb18a95d93240258262350e8fcf1b63dd5.tar.gz
dotfiles-4b3849eb18a95d93240258262350e8fcf1b63dd5.tar.xz
etc/sh/rc: Load autojump code
-rw-r--r--etc/sh/rc7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index 9664940..ad3115b 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -297,6 +297,13 @@ case $- in
;;
esac
+# IIRC, the Guix profile should do this
for f in "$HOME_ENVIRONMENT"/profile/etc/bash_completion.d/*; do
. "$f"
done
+
+# IIRC, the Guix package should do this
+F="$HOME_ENVIRONMENT"/profile/share/autojump/autojump.bash
+if [ -r "$F" ]; then
+ . "$F"
+fi