mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 05:37:36 +08:00
Fix format string
The terlar prompt uses `|branch`, this is visually quite important.
This commit is contained in:
parent
8af2f96b4f
commit
56b3b27206
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user