mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 03:51:14 -03:00
wildcard: Check trailing components against
Forward-port ofc31e194120, Revert of6823f5e337, Fixes #10205
This commit is contained in:
@@ -11,6 +11,11 @@ touch ./b/file.txt
|
||||
|
||||
set dirs ./a ./b
|
||||
echo $dirs/*.txt # CHECK: ./b/file.txt
|
||||
echo */foo/
|
||||
# CHECKERR: checks/wildcard.fish (line {{\d+}}): No matches for wildcard '*/foo/'. See `help wildcards-globbing`.
|
||||
# CHECKERR: echo */foo/
|
||||
# CHECKERR: ^~~~~^
|
||||
|
||||
|
||||
cd $oldpwd
|
||||
rm -Rf $dir
|
||||
|
||||
Reference in New Issue
Block a user