From fac6016aac5c3399353590a0f2e9e59128b69775 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Wed, 22 Jun 2022 22:47:16 -0400 Subject: [PATCH] fix(shells/nu): update nu config, reenable --- users/profiles/shells/all.nix | 2 +- users/profiles/shells/nushell.nix | 17 +++++++---------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/users/profiles/shells/all.nix b/users/profiles/shells/all.nix index f093fca..700e6c1 100644 --- a/users/profiles/shells/all.nix +++ b/users/profiles/shells/all.nix @@ -3,7 +3,7 @@ ./bash.nix ./fish.nix ./ion.nix - # ./nushell.nix + ./nushell.nix ./zsh.nix ]; } diff --git a/users/profiles/shells/nushell.nix b/users/profiles/shells/nushell.nix index b4fa4fd..278a1b4 100644 --- a/users/profiles/shells/nushell.nix +++ b/users/profiles/shells/nushell.nix @@ -1,15 +1,12 @@ { ... }: { 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"; - }; + configFile.text = '' + source ~/.cache/starship/init.nu + ''; + envFile.text = '' + mkdir ~/.cache/starship + starship init nu | save ~/.cache/starship/init.nu + ''; }; }