diff --git a/README.md b/README.md index aee10750..fea32bc7 100644 --- a/README.md +++ b/README.md @@ -332,7 +332,7 @@ Add the following to the end of your Nushell env file (find it by running `$nu.e ```sh mkdir ~/.cache/starship -starship init nu | save ~/.cache/starship/init.nu +starship init nu | save -f ~/.cache/starship/init.nu ``` And add the following to the end of your Nushell configuration (find it by running `$nu.config-path`): @@ -341,7 +341,7 @@ And add the following to the end of your Nushell configuration (find it by runni source ~/.cache/starship/init.nu ``` -Note: Only Nushell v0.61+ is supported +Note: Only Nushell v0.73+ is supported diff --git a/docs/README.md b/docs/README.md index 720a5607..0665a431 100644 --- a/docs/README.md +++ b/docs/README.md @@ -138,14 +138,14 @@ description: Starship is the minimal, blazing fast, and extremely customizable p ::: warning This will change in the future. - Only Nushell v0.61+ is supported. + Only Nushell v0.73+ is supported. ::: Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell): ```sh mkdir ~/.cache/starship - starship init nu | save ~/.cache/starship/init.nu + starship init nu | save -f ~/.cache/starship/init.nu ``` And add the following to the end of your Nushell configuration (find it by running `$nu.config-path`): diff --git a/install/install.sh b/install/install.sh index b100b9eb..65d30422 100755 --- a/install/install.sh +++ b/install/install.sh @@ -338,10 +338,10 @@ print_install() { # shellcheck disable=SC2088 config_file="${BOLD}your nu config file${NO_COLOR} (find it by running ${BOLD}\$nu.config-path${NO_COLOR} in Nushell)" config_cmd="mkdir ~/.cache/starship - starship init nu | save ~/.cache/starship/init.nu + starship init nu | save -f ~/.cache/starship/init.nu source ~/.cache/starship/init.nu" warning="${warning} This will change in the future. - Only Nushell v0.61 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\"" ;; esac