[英]Hyper Terminal is showing ~% instead of $
重新啟動在 MacOs Catalina 10.15.3 上運行的 Mac 后,Hyper 顯示
username@MacBook-Air ~ %
而不是常規的 $。 為什么會這樣,百分比符號是什么意思?
我也無法使用命令行檢查我的超級版本,見下文:
用戶名@MacBook-Air ~ % hyper --version
選項“版本”未知。 以下是所有可用選項的列表:
用法: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)
謝謝!
在 medium.com 的文章“自定義 MacOS 終端”中找到了這個答案:
"As of 2019, macOS Catalina has adopted Z Shell, or zsh for short, as the default login shell. Z Shell is a Unix shell that acts as an interactive login shell and command line interpreter for shell scripting."
https://medium.com/dev-genius/customize-the-macos-terminal-zsh-4cb387e4f447
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.