feat(fish): add command to pick up completions in nix shells

This commit is contained in:
Moritz Böhme 2025-04-13 14:05:16 +02:00
parent 2995d7f504
commit 960d0244bc
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9

View file

@ -29,6 +29,15 @@ in
programs = {
fish = {
enable = true;
plugins = [{
name = "fish-completion-sync";
src = pkgs.fetchFromGitHub {
owner = "pfgray";
repo = "fish-completion-sync";
rev = "ba70b6457228af520751eab48430b1b995e3e0e2";
sha256 = "sha256-JdOLsZZ1VFRv7zA2i/QEZ1eovOym/Wccn0SJyhiP9hI=";
};
}];
shellAbbrs = shellConfig.abbreviations;
shellAliases = shellConfig.aliases;
shellInit = /* fish */ ''