From 498f489ee0e7e099d887864fb0ad7ad472d29df8 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Thu, 23 Feb 2023 09:42:22 -0600 Subject: [PATCH] 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 --- install/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install.sh b/install/install.sh index 65d30422..6c1f9a2a 100755 --- a/install/install.sh +++ b/install/install.sh @@ -342,7 +342,7 @@ print_install() { source ~/.cache/starship/init.nu" warning="${warning} This will change in the future. 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 printf " %s\n %s\n And add the following to the end of %s:\n\n\t%s\n\n" \