Kill git prompt for NOVCSPROMPT too
    
        | author | Steve Losh <steve@stevelosh.com> | 
    
        | date | Sat, 01 Feb 2020 20:00:13 -0500 | 
    
    
        | parents | e5ccdeae4a12 | 
    
        | children | 417477f4186b | 
    
        | branches/tags | (none) | 
    
        | files | fish/config.fish | 
Changes
    
--- a/fish/config.fish	Sat Feb 01 15:23:02 2020 -0500
+++ b/fish/config.fish	Sat Feb 01 20:00:13 2020 -0500
@@ -175,14 +175,16 @@
 end
 
 function git_prompt
-    if git root >/dev/null 2>&1
-        set_color normal
-        printf ' on '
-        set_color magenta
-        printf '%s' (git current-branch ^/dev/null)
-        set_color green
-        git_prompt_status
-        set_color normal
+    if test -z "$NOVCSPROMPT"
+        if git root >/dev/null 2>&1
+            set_color normal
+            printf ' on '
+            set_color magenta
+            printf '%s' (git current-branch ^/dev/null)
+            set_color green
+            git_prompt_status
+            set_color normal
+        end
     end
 end