aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rwxr-xr-x.bashrc24
1 files changed, 20 insertions, 4 deletions
diff --git a/.bashrc b/.bashrc
index c8d33d8..bd79b68 100755
--- a/.bashrc
+++ b/.bashrc
@@ -40,10 +40,26 @@ then
. /usr/share/bash-completion/bash_completion
fi
-for f in "$HOME"/.local/share/bash-completion/*
-do
- . "$f"
-done
+if [ -f "$HOME/.guix-home/profile/share/bash-completion/bash_completion" ]
+then
+ . "$HOME/.guix-home/profile/share/bash-completion/bash_completion"
+fi
+
+if [ -d "$HOME/.local/share/bash-completion/" ]
+then
+ for f in "$HOME"/.local/share/bash-completion/*
+ do
+ . "$f"
+ done
+fi
+
+if [ -d "$HOME/.guix-home/profile/etc/bash-completion.d" ]
+then
+ for f in "$HOME"/.guix-home/profile/etc/bash-completion.d/*
+ do
+ . "$f"
+ done
+fi
GPG_TTY="$(tty)"
export GPG_TTY