Merge pull request #21 from wi11-holdsworth/enhancement/13

fix: ensure that programs installed via direnv are detectable by fish-completion
This commit is contained in:
Will 2025-10-01 15:01:49 +10:00 committed by GitHub
commit 645ff81297
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,6 +39,20 @@ in
vim = "nvim"; vim = "nvim";
# keep-sorted end # keep-sorted end
}; };
plugins = [
# INFO: Using this to get shell completion for programs added to the path through nix+direnv.
# Issue to upstream into direnv:Add commentMore actions
# https://github.com/direnv/direnv/issues/443
{
name = "completion-sync";
src = pkgs.fetchFromGitHub {
owner = "iynaix";
repo = "fish-completion-sync";
rev = "4f058ad2986727a5f510e757bc82cbbfca4596f0";
sha256 = "sha256-kHpdCQdYcpvi9EFM/uZXv93mZqlk1zCi2DRhWaDyK5g=";
};
}
];
}; };
# https://nixos.wiki/wiki/Fish#Setting_fish_as_your_shell # https://nixos.wiki/wiki/Fish#Setting_fish_as_your_shell