Skip to content

Commit

Permalink
zsh-vi-mode: init at v0.8.5
Browse files Browse the repository at this point in the history
Adding [zsh-vi-mode] at version `0.8.5`.

[zsh-vi-mode]: https://github.com/jeffreytse/zsh-vi-mod
  • Loading branch information
KyleOndy committed Nov 19, 2021
1 parent 010258a commit e7e3480
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/shells/zsh/zsh-vi-mode/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
pname = "zsh-vi-mode";
version = "0.8.5";

src = fetchFromGitHub {
owner = "jeffreytse";
repo = pname;
rev = "v${version}";
sha256 = "EOYqHh0rcgoi26eopm6FTl81ehak5kXMmzNcnJDH8/E=";
};

dontBuild = true;

installPhase = ''
mkdir -p $out/share/${pname}
cp *.zsh $out/share/${pname}/
'';

meta = with lib; {
homepage = "https://github.com/jeffreytse/zsh-vi-mode";
license = licenses.mit;
description = "A better and friendly vi(vim) mode plugin for ZSH.";
maintainers = with maintainers; [ kyleondy ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11088,6 +11088,8 @@ with pkgs;

zsh-command-time = callPackage ../shells/zsh/zsh-command-time { };

zsh-vi-mode = callPackage ../shells/zsh/zsh-vi-mode {};

zsh-you-should-use = callPackage ../shells/zsh/zsh-you-should-use { };

zsh-z = callPackage ../shells/zsh/zsh-z { };
Expand Down

0 comments on commit e7e3480

Please sign in to comment.