From c4f6745e72ec2db0430c2a91dde28a03700e9147 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sun, 4 Nov 2018 13:06:13 +0100 Subject: [PATCH] nixos: programs.bash: Fix comment about completion `XDG_DATA_DIRS` already includes what is typically the `share` directory. Adding an extra `share` breaks it. --- nixos/modules/programs/bash/bash.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/bash/bash.nix b/nixos/modules/programs/bash/bash.nix index 0fbc77ea44c..d325fff6a57 100644 --- a/nixos/modules/programs/bash/bash.nix +++ b/nixos/modules/programs/bash/bash.nix @@ -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"