diff --git a/share/tools/web_config/sample_prompts/nim.fish b/share/tools/web_config/sample_prompts/nim.fish index 8d73c1529..7c4cf0426 100644 --- a/share/tools/web_config/sample_prompts/nim.fish +++ b/share/tools/web_config/sample_prompts/nim.fish @@ -112,7 +112,7 @@ function fish_prompt and _nim_prompt_wrapper $retc V (basename "$VIRTUAL_ENV") # git - set -l prompt_git (fish_git_prompt | string trim -c ' ()') + set -l prompt_git (fish_git_prompt '%s') test -n "$prompt_git" and _nim_prompt_wrapper $retc G $prompt_git