diff options
author | cassis163 <42798012+cassis163@users.noreply.github.com> | 2022-12-30 18:04:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-30 18:04:47 +0100 |
commit | 69929dd0ac13bf85f0014a3ca40c48655485c5f1 (patch) | |
tree | 527c878e0ee2c9ddd89922368d63c59b4ce1a53d | |
parent | 580113092be6c5f80fb69b7f6775c973b9118432 (diff) |
docs(nu): Add `-f` flag (#4777)
* Add missing -f flag in documentation
* Fix Nushell version
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | docs/README.md | 4 | ||||
-rwxr-xr-x | install/install.sh | 4 |
3 files changed, 6 insertions, 6 deletions
@@ -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 </details> diff --git a/docs/README.md b/docs/README.md index 720a56077..0665a4311 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 b100b9eb0..65d30422d 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 |