Command Shell: Difference between revisions

imported>Skylark
m Minor copyedit throughout
imported>Liassica
Enable: Changed vague "home.nix" wording
Line 3: Line 3:
{{note|[[Zsh]] is used here as an example. You can use other shells, e.g. {{ic|fish}} or {{ic|nushell}}.}}
{{note|[[Zsh]] is used here as an example. You can use other shells, e.g. {{ic|fish}} or {{ic|nushell}}.}}
== Enable ==
== Enable ==
Always enable the shell system-wide, even if it's already enabled in your <code>home.nix</code>. Otherwise it won't source the necessary files.
Always enable the shell system-wide, even if it's already enabled in your [[Home Manager]] configuration, otherwise it won't source the necessary files.
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
programs.zsh.enable = true;
programs.zsh.enable = true;