fish: fix rustup completions

sh-initrd-on-root
Zynh Ludwig 2024-09-27 09:57:45 -07:00
parent 18d39d134b
commit 962f1cf796
1 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,10 @@ in
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
xdg.configFile."fish/completions/rustup.fish".text = lib.mkIf rust (builtins.readFile ../completions/rustup.fish); xdg.configFile."fish/completions/rustup.fish" = {
enable = rust;
source = ../completions/rustup.fish;
};
programs.bash = lib.mkIf (!macos) { programs.bash = lib.mkIf (!macos) {
enable = true; enable = true;