nixos: programs.bash: Fix comment about completion

`XDG_DATA_DIRS` already includes what is typically the `share` directory.
Adding an extra `share` breaks it.
This commit is contained in:
Robert Hensing 2018-11-04 13:06:13 +01:00 committed by GitHub
parent f4508c4bee
commit c4f6745e72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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