fix(shells/nu): update nu config, reenable

This commit is contained in:
Infinidoge 2022-06-22 22:47:16 -04:00
parent 16f2ab66ce
commit fac6016aac
2 changed files with 8 additions and 11 deletions

View file

@ -3,7 +3,7 @@
./bash.nix
./fish.nix
./ion.nix
# ./nushell.nix
./nushell.nix
./zsh.nix
];
}

View file

@ -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
'';
};
}