Fix format string

The terlar prompt uses `|branch`, this is visually quite important.
This commit is contained in:
Fabian Homborg 2021-04-16 18:54:56 +02:00 committed by Fabian Boehm
parent 8af2f96b4f
commit 56b3b27206
2 changed files with 2 additions and 2 deletions

View file

@ -34,5 +34,5 @@ function __terlar_git_prompt --description 'Write out the git prompt'
set -q __fish_git_prompt_char_stateseparator
or set -g __fish_git_prompt_char_stateseparator '⚡'
fish_git_prompt $argv
fish_git_prompt '|%s'
end

View file

@ -47,7 +47,7 @@ function fish_prompt --description 'Write out the prompt'
or set -g __fish_git_prompt_color_branch green
set -q __fish_git_prompt_char_stateseparator
or set -g __fish_git_prompt_char_stateseparator '⚡'
fish_vcs_prompt
fish_vcs_prompt '|%s'
echo
if not test $last_status -eq 0