mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 00:41:15 -03:00
Fix stylistic nit in glob documentation
The test is unnecessary.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user