Revert -z statement in help.fish

A recent commit added an invalid expression to the help.fish script. The
"-z" flag caused the error: "test: Missing close paren at index 11"
This commit is contained in:
Christopher Phillips 2022-08-06 13:53:09 -04:00 committed by Fabian Boehm
parent 8e3e50f9ee
commit d20554e343

View file

@ -48,7 +48,7 @@ function help --description 'Show help for the fish shell'
# If we are in a graphical environment, check if there is a graphical
# browser to use instead.
if test -n "$DISPLAY" -a \( "$XAUTHORITY" = "$HOME/.Xauthority" -o -z "$XAUTHORITY"\)
if test -n "$DISPLAY" -a \( "$XAUTHORITY" = "$HOME/.Xauthority" -o "$XAUTHORITY" = "" \)
for i in $graphical_browsers
if type -q -f $i
set fish_browser $i