Nushell: Difference between revisions
imported>Vieta removed <code> |
imported>Vieta m configFile.source function |
||
| Line 14: | Line 14: | ||
Nushell can be configured with [[Home Manager]]. | Nushell can be configured with [[Home Manager]]. | ||
==== | ====Examples==== | ||
Configuration with [https://starship.rs/ Startship] font. | Configuration with [https://starship.rs/ Startship] font. | ||
{{file|~/.config/nixpkgs/home.nix|nix|<nowiki> | {{file|~/.config/nixpkgs/home.nix|nix|<nowiki> | ||
programs = { | programs = { | ||
nushell = { | nushell = { enable = true; | ||
# The config.nu can be anywhere you want if you like to edit your Nushell with Nu | |||
configFile.source = ./.../config.nu; | |||
}; | }; | ||
starship = { | starship = { enable = true; | ||
settings = { | settings = { | ||
add_newline = true; | |||
character = { | |||
success_symbol = "[➜](bold green)"; | success_symbol = "[➜](bold green)"; | ||
error_symbol = "[➜](bold red)"; | error_symbol = "[➜](bold red)"; | ||