shells/nushell: fix starship prompt

This commit is contained in:
Infinidoge 2021-11-12 00:18:30 -05:00
parent 13485b16d6
commit 58260eb272
2 changed files with 7 additions and 3 deletions

View file

@ -4,7 +4,12 @@
settings = {
complete_from_path = true;
ctrlc_exit = true;
prompt = "STARSHIP_SHELL= starship prompt";
startup = [
"mkdir ~/.cache/starship"
"starship init nu | save ~/.cache/starship/init.nu"
"source ~/.cache/starship/init.nu"
];
prompt = "starship_prompt";
};
};
}