From 5384b04ead1501262b36e81f1bd67696dcbd3626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 27 Sep 2013 01:13:20 +0200 Subject: [PATCH] bash: fix broken completion --- modules/programs/bash/bash.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/programs/bash/bash.nix b/modules/programs/bash/bash.nix index c9332c0d9e95..8cfe3f990adc 100644 --- a/modules/programs/bash/bash.nix +++ b/modules/programs/bash/bash.nix @@ -198,6 +198,11 @@ in users.defaultUserShell = mkDefault "/run/current-system/sw/bin/bash"; + environment.pathsToLink = optionals cfg.enableCompletion [ + "/etc/bash_completion.d" + "/share/bash-completion" + ]; + environment.shells = [ "/run/current-system/sw/bin/bash" "/var/run/current-system/sw/bin/bash"