fix(shells/nu): update nu config, reenable
This commit is contained in:
parent
16f2ab66ce
commit
fac6016aac
2 changed files with 8 additions and 11 deletions
|
@ -3,7 +3,7 @@
|
||||||
./bash.nix
|
./bash.nix
|
||||||
./fish.nix
|
./fish.nix
|
||||||
./ion.nix
|
./ion.nix
|
||||||
# ./nushell.nix
|
./nushell.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,12 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
programs.nushell = {
|
programs.nushell = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
configFile.text = ''
|
||||||
complete_from_path = true;
|
source ~/.cache/starship/init.nu
|
||||||
ctrlc_exit = true;
|
'';
|
||||||
startup = [
|
envFile.text = ''
|
||||||
"mkdir ~/.cache/starship"
|
mkdir ~/.cache/starship
|
||||||
"starship init nu | save ~/.cache/starship/init.nu"
|
starship init nu | save ~/.cache/starship/init.nu
|
||||||
"source ~/.cache/starship/init.nu"
|
'';
|
||||||
];
|
|
||||||
prompt = "starship_prompt";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue