mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
parent
e3d4545f74
commit
348666beaf
@ -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 }')
|
set -l changes (command git diff --numstat | awk '{ added += $1; removed += $2 } END { print "+" added "/-" removed }')
|
||||||
or return
|
or return
|
||||||
|
|
||||||
echo "$changes " | string replace '+0/' '' | string replace '/-0 ' ' '
|
echo "$changes " | string replace -r '(\+0/(-0)?|/-0)' ''
|
||||||
end
|
end
|
||||||
|
|
||||||
# ==============================
|
# ==============================
|
||||||
|
Loading…
Reference in New Issue
Block a user