diff options
author | Sam <Samuel3877@hotmail.co.uk> | 2024-04-04 20:33:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-04 21:33:14 +0200 |
commit | ab3f5297943005d0af646d0565cbd79f4ee4f4d1 (patch) | |
tree | 4ea84cbc60f2bd4beb265e417d2ea62b32b4d738 /docs | |
parent | a25a7d2f7fed8eb6cccafbcb8ff7fffafc13d973 (diff) |
docs(faq): fix typo (#5905)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/faq/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/faq/README.md b/docs/faq/README.md index 8414c8297..7aa28303d 100644 --- a/docs/faq/README.md +++ b/docs/faq/README.md @@ -147,7 +147,7 @@ sh -c 'rm "$(command -v 'starship')"' ## How do I install Starship without `sudo`? -The shell install script (`https://starship.rs/install.sh`) only attempts to use `sudo` if the target installation directory is not writable by the current user. The default installation diretory is the value of the `$BIN_DIR` environment variable or `/usr/local/bin` if `$BIN_DIR` is not set. If you instead set the installation directory to one that is writable by your user, you should be able to install starship without `sudo`. For example, `curl -sS https://starship.rs/install.sh | sh -s -- -b ~/.local/bin` uses the `-b` command line option of the install script to set the installation directory to `~/.local/bin`. +The shell install script (`https://starship.rs/install.sh`) only attempts to use `sudo` if the target installation directory is not writable by the current user. The default installation directory is the value of the `$BIN_DIR` environment variable or `/usr/local/bin` if `$BIN_DIR` is not set. If you instead set the installation directory to one that is writable by your user, you should be able to install starship without `sudo`. For example, `curl -sS https://starship.rs/install.sh | sh -s -- -b ~/.local/bin` uses the `-b` command line option of the install script to set the installation directory to `~/.local/bin`. For a non-interactive installation of Starship, don't forget to add the `-y` option to skip the confirmation. Check the source of the installation script for a list of all supported installation options. |