【发布时间】:2019-04-27 17:29:44
【问题描述】:
我在 Mac 10.13.6 上
我已经阅读了这篇长篇文章以及那里的 10 个可行的解决方案
How to set my default shell on Mac?
但对我没有任何作用。
这是我尝试过的
brew install fish
sudo vi /etc/shells
Add line '/usr/local/bin/fish' and save the file
csh -s /usr/local/bin/fish
press ⌘ ,
Shell Open with
Command complete path '/usr/local/bin/fish'
Go to system preferences
Users and Groups
select my user
click on lock icon and enter root password
go into advanced options
change Login Shell to /usr/local/bin/fish
现在我重新启动机器并运行终端。它仍然使用 BASH。
【问题讨论】:
-
您可能需要配置“Terminal.app”以使用默认登录 shell(或明确使用 fish)。
标签: fish