diff options
author | Matan Kushner <hello@matchai.dev> | 2020-05-19 20:26:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-19 20:26:44 -0400 |
commit | 90dd4eebd668b7fa9ae1471b134284df1b102efc (patch) | |
tree | c73dcd3878e42def70ba5f3e704c0fba9f7bddf7 /docs/faq | |
parent | bbe9a1b10aef088b0801a71b251195f208d8f996 (diff) |
docs: fix example Starship implementation in bash
Diffstat (limited to 'docs/faq')
-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 bc758c89a..709a8e8d0 100644 --- a/docs/faq/README.md +++ b/docs/faq/README.md @@ -31,7 +31,7 @@ STATUS=$? NUM_JOBS=$(jobs -p | wc -l) # Set the prompt to the output of `starship prompt` -PS1="$(starship prompt --status=$STATUS --jobs=NUM_JOBS)" +PS1="$(starship prompt --status=$STATUS --jobs=$NUM_JOBS)" ``` The [Bash implementation](https://github.com/starship/starship/blob/master/src/init/starship.bash) built into Starship is slightly more complex to allow for advanced features like the [Command Duration module](https://starship.rs/config/#Command-Duration) and to ensure that Starship is compatible with pre-installed Bash configurations. |