summary refs log tree commit diff
path: root/pkgs/shells/fish
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-03-09 21:52:28 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2023-03-13 16:44:53 +0100
commit6b558b3df926f84f87b246e33742d47a5d2b5f02 (patch)
tree8cc5c6b693ffed4e0ddc4eadea5930afe06f6179 /pkgs/shells/fish
parentaec7857745a074361cbb2b6d20aff9e7181a026a (diff)
downloadnixpkgs-6b558b3df926f84f87b246e33742d47a5d2b5f02.tar
nixpkgs-6b558b3df926f84f87b246e33742d47a5d2b5f02.tar.gz
nixpkgs-6b558b3df926f84f87b246e33742d47a5d2b5f02.tar.bz2
nixpkgs-6b558b3df926f84f87b246e33742d47a5d2b5f02.tar.lz
nixpkgs-6b558b3df926f84f87b246e33742d47a5d2b5f02.tar.xz
nixpkgs-6b558b3df926f84f87b246e33742d47a5d2b5f02.tar.zst
nixpkgs-6b558b3df926f84f87b246e33742d47a5d2b5f02.zip
fishPlugins.z: init at unstable-2022-04-08
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'pkgs/shells/fish')
-rw-r--r--pkgs/shells/fish/plugins/default.nix2
-rw-r--r--pkgs/shells/fish/plugins/z.nix23
2 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix
index b1dba3142fd..b367c521170 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 00000000000..207c68a43d7
--- /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 ];
+  };
+}