在iterm中执行命令时出现错误消息。
build_left_prompt:8: failed to load module `zsh/regex': /usr/lib/zsh/5.4.1/zsh/regex.so: cannot open shared object file: No such file or directory
build_left_prompt:8: -regex-match not available for regex
build_right_prompt:8: failed to load module `zsh/regex': /usr/lib/zsh/5.4.1/zsh/regex.so: cannot open shared object file: No such file or directory
build_right_prompt:8: -regex-match not available for regex
答案 0 :(得分:0)
实际上我自己弄清楚了,只是重新启动iterm就可以了
看来我的brew upgrade
更改了zsh版本,并且文件夹被交换,现在lib模块位于/usr/lib/zsh/5.3/zsh/
中
brew确实符号链接了我的新文件夹,但现有会话仍然中断。