summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2018-11-04 13:06:13 +0100
committerGitHub <noreply@github.com>2018-11-04 13:06:13 +0100
commitc4f6745e72ec2db0430c2a91dde28a03700e9147 (patch)
tree65eb1b87078c766a569fdee329c445bbb1ab6509 /nixos
parentf4508c4beeda61ee1990c1af483eb0328e1f251b (diff)
downloadnixlib-c4f6745e72ec2db0430c2a91dde28a03700e9147.tar
nixlib-c4f6745e72ec2db0430c2a91dde28a03700e9147.tar.gz
nixlib-c4f6745e72ec2db0430c2a91dde28a03700e9147.tar.bz2
nixlib-c4f6745e72ec2db0430c2a91dde28a03700e9147.tar.lz
nixlib-c4f6745e72ec2db0430c2a91dde28a03700e9147.tar.xz
nixlib-c4f6745e72ec2db0430c2a91dde28a03700e9147.tar.zst
nixlib-c4f6745e72ec2db0430c2a91dde28a03700e9147.zip
nixos: programs.bash: Fix comment about completion
`XDG_DATA_DIRS` already includes what is typically the `share` directory.
Adding an extra `share` breaks it.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/programs/bash/bash.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/bash/bash.nix b/nixos/modules/programs/bash/bash.nix
index 0fbc77ea44cf..d325fff6a572 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"