macOS 更改 Terminal 语言
terminal
The new Windows Terminal and the original Windows console host, all in the same place!
项目地址:https://gitcode.com/gh_mirrors/term/terminal
免费下载资源
·
macOS 更改 Terminal 语言
本文地址:https://blog.lucien.ink/archives/460/
起因
今天用 brew 装了一个 wget, 装完之后发现提示是中文的
$ wget
wget:未指定 URL
用法: wget [选项]... [URL]...
请尝试使用“wget --help”查看更多的选项。
解决
应该是因为 Homebrew 里的 wget 是有多语言支持的版本,遂改之
$ echo $LANG # 查看当前 Terminal 的语言设定,发现是中文
zh_CN.UTF-8
遂更改变量 LANG
$ echo 'export LANG="en_US.UTF-8"' >> ~/.bash_profile # 默认将 LANG 修改为英文_美国.UTF-8 编码
$ source ~/.bash_profile # 使文件生效
$ wget
wget: missing URL
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
GitHub 加速计划 / term / terminal
94.53 K
8.17 K
下载
The new Windows Terminal and the original Windows console host, all in the same place!
最近提交(Master分支:1 个月前 )
59dc5eff
Closes #17752
Closes #17764
Closes #17830 1 天前
bcac9993
`AutoSuggestBox` has a `SuggestionChosen` event and any reasonable
person would assume that this means one of the items was chosen.
But with WinUI it's raised whenever a suggestion is merely highlighted.
`QuerySubmitted` is the right event instead. Clearly that naming is
a lot better than `SuggestionChosen`, since the property to get the
chosen item is called `ChosenSuggestion`.
WinUI, like the unrelenting wilderness of a world indifferent to human
suffering, stands as a testament to the futility of human aspiration.
Closes #17916
## Validation Steps Performed
* Type "Casc"
* Move up/down with the arrow keys
* Neither the filtered list nor the text updates ✅
* Press Enter on an item
* Text updates ✅ 2 天前
更多推荐
已为社区贡献3条内容
所有评论(0)