Merge pull request #63920 from Ma27/package-zsh-you-should-use

zsh-you-should-use: init at 1.1.0
This commit is contained in:
Maximilian Bosch 2019-07-09 23:28:53 +02:00 committed by GitHub
commit 241a7bb363
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -6998,6 +6998,8 @@ in
zsh-command-time = callPackage ../shells/zsh/zsh-command-time { };
zsh-you-should-use = callPackage ../shells/zsh/zsh-you-should-use { };
zssh = callPackage ../tools/networking/zssh { };
zstd = callPackage ../tools/compression/zstd { };