config.fish: skip path modifications if tests running

Closes #6556.
This commit is contained in:
David Adam 2020-02-06 12:48:08 +08:00
parent eaecb817ca
commit ee3f0b19b4

View file

@ -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