fish: fix rustup completions

This commit is contained in:
Zynh Ludwig 2024-09-27 09:57:45 -07:00
parent 18d39d134b
commit 962f1cf796

View file

@ -11,7 +11,10 @@ in
};
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) {
enable = true;