鉴于此目录内容:
one.file two.file three.file
在 bash 中,当我输入时
rm *.file !(two)
只有one.file和three.file被删除。我怎样才能在 ZSH 中做到这一点?
one.file
three.file
bash zsh globbing
bash ×1
globbing ×1
zsh ×1