mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 14:23:09 +00:00
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:
parent
8e3e50f9ee
commit
d20554e343
1 changed files with 1 additions and 1 deletions
|
@ -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
|
# If we are in a graphical environment, check if there is a graphical
|
||||||
# browser to use instead.
|
# 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
|
for i in $graphical_browsers
|
||||||
if type -q -f $i
|
if type -q -f $i
|
||||||
set fish_browser $i
|
set fish_browser $i
|
||||||
|
|
Loading…
Reference in a new issue