Jump to content

Zsh: Difference between revisions

487 bytes added ,  26 December 2021
m
Adding instructions how to get valid sha hash for manual plugin installation
imported>EDevil
m (Corrected theme name.)
imported>Lockejan
m (Adding instructions how to get valid sha hash for manual plugin installation)
Line 88: Line 88:
bindkey "''${key[Up]}" up-line-or-search
bindkey "''${key[Up]}" up-line-or-search
</syntaxhighlight>
</syntaxhighlight>
=== SHA Mismatch during manual plugin installation ===
If manual plugin installation fails with SHA mismatch, generating a valid hash as part of the error message can be achieved by temporarily switching to:
<syntaxhighlight lang="nix">
sha256 = lib.fakeSha256;
</syntaxhighlight>
This will print a valid SHA to the console and then can be used as final value for the sha256 field.
Redoing this is mandatory if one wants to update to a newer commit of the targeted plugin repository.


== See also ==
== See also ==
* [[Command Shell]]
* [[Command Shell]]
Anonymous user