排版-U PATH在macOS终端zsh中不起作用

时间:2019-07-17 09:45:12

标签: macos zsh

typeset -U PATH在macOS终端zsh中不起作用:

typeset -U PATH

错误:

typeset: -U: invalid option
typeset: usage: typeset [-afFirtx] [-p] name[=value] ...

你知道为什么吗?

1 个答案:

答案 0 :(得分:0)

就像@chepner所说的那样,您可能不在zsh上,因为我像在Macosx上使用zshell 5.3一样尝试了它,并且可以正常工作。

作为参考,这里是zsh man page for all the builtins

相关问题