diff --git a/users/profiles/shells/all.nix b/users/profiles/shells/all.nix index 7fee820..b0a7789 100644 --- a/users/profiles/shells/all.nix +++ b/users/profiles/shells/all.nix @@ -3,5 +3,6 @@ ./bash.nix ./fish.nix ./zsh.nix + ./nushell.nix ]; } diff --git a/users/profiles/shells/nushell.nix b/users/profiles/shells/nushell.nix new file mode 100644 index 0000000..b4fa4fd --- /dev/null +++ b/users/profiles/shells/nushell.nix @@ -0,0 +1,15 @@ +{ ... }: { + programs.nushell = { + enable = true; + settings = { + complete_from_path = true; + ctrlc_exit = true; + startup = [ + "mkdir ~/.cache/starship" + "starship init nu | save ~/.cache/starship/init.nu" + "source ~/.cache/starship/init.nu" + ]; + prompt = "starship_prompt"; + }; + }; +}