We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a215600 commit e627d30Copy full SHA for e627d30
1 file changed
modules/programs/bash/bash.nix
@@ -18,7 +18,7 @@ let
18
nullglobStatus=$(shopt -p nullglob)
19
shopt -s nullglob
20
for p in $NIX_PROFILES; do
21
- for m in "$p/etc/bash_completion.d/"*; do
+ for m in "$p/etc/bash_completion.d/"* "$p/share/bash-completion/completions/"*; do
22
. $m
23
done
24
@@ -146,5 +146,8 @@ in
146
mv /bin/.sh.tmp /bin/sh # atomically replace /bin/sh
147
'';
148
149
- environment.pathsToLink = optional cfg.enableBashCompletion "/etc/bash_completion.d";
+ environment.pathsToLink = optionals cfg.enableBashCompletion [
150
+ "/etc/bash_completion.d"
151
+ "/share/bash-completion"
152
+ ];
153
}
0 commit comments