diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix index b1dba3142fd2..b367c521170f 100644 --- a/pkgs/shells/fish/plugins/default.nix +++ b/pkgs/shells/fish/plugins/default.nix @@ -43,6 +43,8 @@ lib.makeScope newScope (self: with self; { sponge = callPackage ./sponge.nix { }; tide = callPackage ./tide.nix { }; + + z = callPackage ./z.nix { }; } // lib.optionalAttrs config.allowAliases { autopair-fish = self.autopair; # Added 2023-03-10 }) diff --git a/pkgs/shells/fish/plugins/z.nix b/pkgs/shells/fish/plugins/z.nix new file mode 100644 index 000000000000..207c68a43d76 --- /dev/null +++ b/pkgs/shells/fish/plugins/z.nix @@ -0,0 +1,23 @@ +{ lib +, buildFishPlugin +, fetchFromGitHub +, +}: +buildFishPlugin rec { + pname = "z"; + version = "unstable-2022-04-08"; + + src = fetchFromGitHub { + owner = "jethrokuan"; + repo = pname; + rev = "85f863f20f24faf675827fb00f3a4e15c7838d76"; + sha256 = "sha256-+FUBM7CodtZrYKqU542fQD+ZDGrd2438trKM0tIESs0="; + }; + + meta = with lib; { + description = "Pure-fish z directory jumping"; + homepage = "https://github.com/jethrokuan/z"; + license = licenses.mit; + maintainers = with maintainers; [ Scrumplex ]; + }; +}