Skip to content

Commit 5e9c663

Browse files
authored
zsh-autosuggestions-abbreviations-strategy: init at 1.1.1 (NixOS#365976)
2 parents 959dee9 + 0c40b33 commit 5e9c663

File tree

1 file changed

+33
-0
lines changed
  • pkgs/by-name/zs/zsh-autosuggestions-abbreviations-strategy

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
lib,
3+
stdenvNoCC,
4+
fetchFromGitHub,
5+
}:
6+
7+
stdenvNoCC.mkDerivation (finalAttrs: {
8+
pname = "zsh-autosuggestions-abbreviations-strategy";
9+
version = "1.1.1";
10+
11+
src = fetchFromGitHub {
12+
owner = "olets";
13+
repo = "zsh-autosuggestions-abbreviations-strategy";
14+
rev = "v${finalAttrs.version}";
15+
hash = "sha256-j2Xx8EWcSRntY7gqK9X1/rn3siZgNdL7ht4CyfAA+yY=";
16+
};
17+
18+
installPhase = ''
19+
runHook preInstall
20+
21+
install *.zsh -Dt "$out/share/zsh/site-functions/"
22+
23+
runHook postInstall
24+
'';
25+
26+
meta = {
27+
description = "Have zsh-autosuggestions suggest your zsh-abbr abbreviations";
28+
homepage = "https://github.com/olets/zsh-autosuggestions-abbreviations-strategy";
29+
license = lib.licenses.mit;
30+
maintainers = with lib.maintainers; [ llakala ];
31+
platforms = lib.platforms.all;
32+
};
33+
})

0 commit comments

Comments
 (0)