chsh -s /bin/zsh 没有生效
chsh: no changes made
解决方法
dscl . -read /Users/$USER/ UserShell
exec su - $USER
切换回bash
chsh -s /bin/bash
dscl命令:
https://www.4455q.com/tech/mac-dscl-user-group-create-delete-append.html
chsh -s /bin/zsh 没有生效
chsh: no changes made
解决方法
dscl . -read /Users/$USER/ UserShell
exec su - $USER
切换回bash
chsh -s /bin/bash
dscl命令:
https://www.4455q.com/tech/mac-dscl-user-group-create-delete-append.html