aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorLuca Matei Pintilie <luca@lucamatei.com>2024-12-29 15:27:59 +0000
committerLuca Matei Pintilie <luca@lucamatei.com>2024-12-29 15:27:59 +0000
commit1ce79bbf109eaef85fbb81c891cd594f48323e76 (patch)
tree62563e841d390cd912914e7bc4b76bebeec64afe /.bashrc
parent5cd0e531546c36d2a81b9f97996f8e803730fa08 (diff)
downloaddotfiles-1ce79bbf109eaef85fbb81c891cd594f48323e76.tar
dotfiles-1ce79bbf109eaef85fbb81c891cd594f48323e76.tar.gz
dotfiles-1ce79bbf109eaef85fbb81c891cd594f48323e76.tar.bz2
dotfiles-1ce79bbf109eaef85fbb81c891cd594f48323e76.tar.lz
dotfiles-1ce79bbf109eaef85fbb81c891cd594f48323e76.tar.xz
dotfiles-1ce79bbf109eaef85fbb81c891cd594f48323e76.tar.zst
dotfiles-1ce79bbf109eaef85fbb81c891cd594f48323e76.zip
home: fix missing dependencies and servicesHEADmaster
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