diff --git a/lib/git/git_ahead.fish b/lib/git/git_ahead.fish
index 7043228b6dfdb57d451d999f2cb092a6dc51c13b..af6c21f49babb85e6274675cd1e517c33fa07219 100644
--- a/lib/git/git_ahead.fish
+++ b/lib/git/git_ahead.fish
@@ -1,9 +1,9 @@
 function git_ahead -a ahead behind diverged none
   git_is_repo; and begin
     test -z "$ahead"; and set ahead "+"
-    test -z "behind"; and set behind "-"
-    test -z "diverged"; and set diverged "±"
-    test -z "none"; and set none ""
+    test -z "$behind"; and set behind "-"
+    test -z "$diverged"; and set diverged "±"
+    test -z "$none"; and set none ""
     command git rev-list --left-right "@{upstream}...HEAD" ^/dev/null \
     | awk "/>/ {a += 1} /</ {b += 1} \
       {if (a > 0) nextfile} END \