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