From f6c5fef2fe9d1394d70c457c8fe5defe11a66f96 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Wed, 6 Mar 2024 18:47:35 +0100 Subject: [PATCH] bash: get completion for system packages --- modules/terminal-life/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/terminal-life/default.nix b/modules/terminal-life/default.nix index 43ed55a8..eaee2209 100644 --- a/modules/terminal-life/default.nix +++ b/modules/terminal-life/default.nix @@ -47,6 +47,10 @@ in { watson ]; + # Get completion for system packages + # https://nix-community.github.io/home-manager/options.xhtml#opt-programs.bash.enableCompletion + environment.pathsToLink = [ "/share/bash-completion" ]; + home-manager.users."${psCfg.user.name}" = { xdg.dataFile."scripts/base16.sh".source = .local/share/scripts/base16.sh;