fish_prompt.fish: Fix space error
This commit is contained in:
parent
d08c149859
commit
c6507006d9
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ function fish_prompt --description 'Write out the prompt'
|
|||
end
|
||||
|
||||
set -l branch (fossil branch current 2>/dev/null)
|
||||
|
||||
|
||||
if test -z "$branch"
|
||||
set branch (git symbolic-ref HEAD 2>/dev/null)
|
||||
set branch (string replace -r "^refs/heads/" "" $branch)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue