Jump to content

Zsh: Difference between revisions

472 bytes added ,  19 August 2022
no edit summary
imported>Lockejan
m (Adding instructions how to get valid sha hash for manual plugin installation)
imported>Pfeiferj
No edit summary
Line 97: Line 97:
This will print a valid SHA to the console and then can be used as final value for the sha256 field.
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.  
Redoing this is mandatory if one wants to update to a newer commit of the targeted plugin repository.  
=== GDM does not show user when zsh is the default shell ===
GDM only shows users that have their default shell set to a shell listed in /etc/shells. Setting the default shell using the following does not update /etc/shells.
<syntaxhighlight lang="nix">
users.defaultUserShell = pkgs.zsh;
</syntaxhighlight>
To add the zsh package to /etc/shells you must update environment.shells.
<syntaxhighlight lang="nix">
environment.shells = with pkgs; [ zsh ];
</syntaxhighlight>


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