From 64ae6d36b5b360ffe9d6e8ee33643c743f00a790 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Mon, 25 May 2020 20:32:31 +0000 Subject: [PATCH] fish_prompt: Redirect fossil's stderr to /dev/null --- fish/functions/fish_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish/functions/fish_prompt.fish b/fish/functions/fish_prompt.fish index ea144b9..2582688 100644 --- a/fish/functions/fish_prompt.fish +++ b/fish/functions/fish_prompt.fish @@ -11,7 +11,7 @@ function fish_prompt --description 'Write out the prompt' set branch (string replace -r "^refs/heads/" "" $branch) if test -z "$branch" - set branch (fossil branch current) + set branch (fossil branch current 2>/dev/null) end set -l vcs