mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-24 13:47:38 +00:00
docs(install): update nushell instructions in installation script (#4921)
Improve Nushell installation instruction Consistently use `save -f` rather than `save`; the latter fails if the file already exists Signed-off-by: Michel Alexandre Salim <michel@michel-slm.name>
This commit is contained in:
parent
8e844c49d5
commit
498f489ee0
@ -342,7 +342,7 @@ print_install() {
|
|||||||
source ~/.cache/starship/init.nu"
|
source ~/.cache/starship/init.nu"
|
||||||
warning="${warning} This will change in the future.
|
warning="${warning} This will change in the future.
|
||||||
Only Nushell v0.73 or higher is supported.
|
Only Nushell v0.73 or higher is supported.
|
||||||
Add the following to the end of ${BOLD}your Nushell env file${NO_COLOR} (find it by running ${BOLD}\$nu.env-path${NO_COLOR} in Nushell): \"mkdir ~/.cache/starship; starship init nu | save ~/.cache/starship/init.nu\""
|
Add the following to the end of ${BOLD}your Nushell env file${NO_COLOR} (find it by running ${BOLD}\$nu.env-path${NO_COLOR} in Nushell): \"mkdir ~/.cache/starship; starship init nu | save -f ~/.cache/starship/init.nu\""
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
printf " %s\n %s\n And add the following to the end of %s:\n\n\t%s\n\n" \
|
printf " %s\n %s\n And add the following to the end of %s:\n\n\t%s\n\n" \
|
||||||
|
Loading…
Reference in New Issue
Block a user