From ee3f0b19b47825d261d3dd0ccffe6140a055a44f Mon Sep 17 00:00:00 2001 From: David Adam Date: Thu, 6 Feb 2020 12:48:08 +0800 Subject: [PATCH] config.fish: skip path modifications if tests running Closes #6556. --- share/config.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/config.fish b/share/config.fish index 400556832..6157c7c1c 100644 --- a/share/config.fish +++ b/share/config.fish @@ -123,7 +123,7 @@ end # system utilities. # -if test -d /usr/xpg4/bin +if begin; not set -q FISH_UNIT_TESTS_RUNNING; and test -d /usr/xpg4/bin; end not contains -- /usr/xpg4/bin $PATH and set PATH /usr/xpg4/bin $PATH end