mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Omit +0 and -0 from verbose dirty state
This commit is contained in:
parent
8bd72dbe19
commit
523f7d916a
@ -244,7 +244,7 @@ function __bobthefish_git_dirty_verbose -S -d 'Print a more verbose dirty state
|
||||
set -l changes (command git diff --numstat | awk '{ added += $1; removed += $2 } END { print "+" added "/-" removed }')
|
||||
or return
|
||||
|
||||
echo "$changes "
|
||||
echo "$changes " | string replace '+0/' '' | string replace '/-0 ' ' '
|
||||
end
|
||||
|
||||
# ==============================
|
||||
|
Loading…
Reference in New Issue
Block a user