File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
pkgs/by-name/zs/zsh-autosuggestions-abbreviations-strategy Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 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+ } )
You can’t perform that action at this time.
0 commit comments