Nushell

From NixOS Wiki
Revision as of 18:55, 13 September 2023 by Vieta (talk | contribs) (First Nushell entry. Please feel free to change)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Nushell is a powerfull shell written in Rust. Its goal it is to be a user friendly shell with many buildin features where the user has fun to use it.

Installation

See Command Shell Example if you want Nushell as your default shell.

Breeze-text-x-plain.png
/etc/nixos/configuration.nix
<code>users.users.myuser= {
   ...  
        shell = pkgs.nushell;
};


Configuration

Nushell can be configured with Home Manager.

Example

Configuration with Startship font.

Breeze-text-x-plain.png
~/.config/nixpkgs/home.nix
programs = {
    nushell = { 
                enable = true;
  };
   starship = { 
                enable = true;
       settings = {
       add_newline = true;
       character = { 
         success_symbol = "[➜](bold green)";
         error_symbol = "[➜](bold red)";
       };
    };
  };
};


See also