@无名啊,好的,谢谢。我明天试试10楼的。 你写的那个参数,我之前查资料是bash这个shell才有的好像。zsh好像没有 shopt is not a command, but a shell built-in. bash knows what to do with it because it's a bash built-in , but zsh has no idea what it is. You'll want to look into setopt which is a zsh built-in, and put those values into a new .zshrc script.
你写的那个参数,我之前查资料是bash这个shell才有的好像。zsh好像没有
shopt is not a command, but a shell built-in. bash knows what to do with it because it's a bash built-in , but zsh has no idea what it is. You'll want to look into setopt which is a zsh built-in, and put those values into a new .zshrc script.