mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
Fix stylistic nit in glob documentation
The test is unnecessary.
This commit is contained in:
parent
e3968ba872
commit
333415f42a
1 changed files with 1 additions and 1 deletions
|
@ -421,7 +421,7 @@ ls *.foo
|
|||
# Lists the .foo files, or warns if there aren't any.
|
||||
|
||||
set foos *.foo
|
||||
if test (count $foos) -ge 1
|
||||
if count $foos >/dev/null
|
||||
ls $foos
|
||||
end
|
||||
# Lists the .foo files, if any.
|
||||
|
|
Loading…
Reference in a new issue