fish: fix rustup completions
This commit is contained in:
parent
18d39d134b
commit
962f1cf796
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue