~/proj/test (master) # echo !(node_modules)**/*.ts
../a.ts
~/proj/test (master) # shopt|grep glob
dotglob off
extglob on
failglob off
globasciiranges off
globstar on
nocaseglob off
nullglob off
so 搜到了说是可能设置了GLOBIGNORE
,但我试了一下这个变量也是空的