重新启动在MacOs Catalina 10.15.3上运行的Mac后,Hyper显示
username@MacBook-Air ~ %
而不是常规的$。为什么会这样?百分比符号是什么意思?
我也不能使用命令行检查我的hyper的版本,如下所示:
用户名@MacBook-Air~% hyper --版本
“版本”选项未知。以下是所有可用选项的列表:
用法:超级选项
命令:
<default> Launch Hyper
d, docs, h, home Open the npm page of a plugin
help Display help
i, install Install a plugin
ls, list List installed plugins
lsr, list-remote, ls-remote List plugins available on npm
s, search Search for plugins on npm
u, uninstall, rm, remove Uninstall a plugin
version Show the version of hyper选项:
-h, --help Output usage information
-v, --verbose Verbose mode (disabled by default)谢谢!
发布于 2020-06-27 20:17:50
发布于 2021-02-15 00:14:04
在Medium.com的文章“定制MacOS终端”中找到了这个答案:
截至2019年,macOS Catalina已采用Z外壳或简称zsh作为默认登录外壳。Z外壳是一个Unix外壳,用作交互式登录外壳和外壳脚本的命令行解释器。
https://medium.com/dev-genius/customize-the-macos-terminal-zsh-4cb387e4f447
https://stackoverflow.com/questions/62607275
复制相似问题