summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-07-09 23:28:53 +0200
committerGitHub <noreply@github.com>2019-07-09 23:28:53 +0200
commit241a7bb3638a1929b58c56e6a4b5852b46ef2df9 (patch)
tree7c0479a13e80207c9b7a9c05f77fce0136b505ff /pkgs/shells
parent3fe8d63170b63ae37ef018d2c4844cfb8bbde2b9 (diff)
parent02e8a36df1c33253822a945ab6290960edf7d082 (diff)
downloadnixpkgs-241a7bb3638a1929b58c56e6a4b5852b46ef2df9.tar
nixpkgs-241a7bb3638a1929b58c56e6a4b5852b46ef2df9.tar.gz
nixpkgs-241a7bb3638a1929b58c56e6a4b5852b46ef2df9.tar.bz2
nixpkgs-241a7bb3638a1929b58c56e6a4b5852b46ef2df9.tar.lz
nixpkgs-241a7bb3638a1929b58c56e6a4b5852b46ef2df9.tar.xz
nixpkgs-241a7bb3638a1929b58c56e6a4b5852b46ef2df9.tar.zst
nixpkgs-241a7bb3638a1929b58c56e6a4b5852b46ef2df9.zip
Merge pull request #63920 from Ma27/package-zsh-you-should-use
zsh-you-should-use: init at 1.1.0
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/zsh/zsh-you-should-use/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/shells/zsh/zsh-you-should-use/default.nix b/pkgs/shells/zsh/zsh-you-should-use/default.nix
new file mode 100644
index 00000000000..c44483d3744
--- /dev/null
+++ b/pkgs/shells/zsh/zsh-you-should-use/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  pname = "zsh-you-should-use";
+  version = "1.1.0";
+
+  src = fetchFromGitHub {
+    owner = "MichaelAquilina";
+    repo = pname;
+    rev = version;
+    sha256 = "0fig5ralagi5jajk7gdm52jvwql17qk9cd6j98qsndvckb26a753";
+  };
+
+  dontBuild = true;
+
+  installPhase = ''
+    install -D you-should-use.plugin.zsh $out/share/zsh/plugins/you-should-use/you-should-use.plugin.zsh
+  '';
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/MichaelAquilina/zsh-you-should-use;
+    license = licenses.gpl3;
+    description = "ZSH plugin that reminds you to use existing aliases for commands you just typed";
+    maintainers = with maintainers; [ ma27 ];
+  };
+}