Skip to content

Commit c4f6745

Browse files
authoredNov 4, 2018
nixos: programs.bash: Fix comment about completion
`XDG_DATA_DIRS` already includes what is typically the `share` directory. Adding an extra `share` breaks it.
1 parent f4508c4 commit c4f6745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nixos/modules/programs/bash/bash.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let
1616
# programmable completion. If we do, enable all modules installed in
1717
# the system and user profile in obsolete /etc/bash_completion.d/
1818
# directories. Bash loads completions in all
19-
# $XDG_DATA_DIRS/share/bash-completion/completions/
19+
# $XDG_DATA_DIRS/bash-completion/completions/
2020
# on demand, so they do not need to be sourced here.
2121
if shopt -q progcomp &>/dev/null; then
2222
. "${pkgs.bash-completion}/etc/profile.d/bash_completion.sh"

0 commit comments

Comments
 (0)
Please sign in to comment.