微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

macOS change default shell from zsh to bash All In One

macOS change default shell from zsh to bash All In One

$  cat /etc/shells                    
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/bash
/bin/csh
/bin/dash
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
# 切换 shell
$ chsh -s /bin/bash           

$ chsh -s /bin/zsh

https://www.howtogeek.com/444596/how-to-change-the-default-shell-to-bash-in-macos-catalina/

zsh bug ❌

https://www.cnblogs.com/xgqfrms/p/16574303.html

test

$ cd /Users/xgqfrms-mbp/Documents/GitHub/leetcode/js-solutions

$ npx ts-node ./054\ spiral-matrix.ts

refs

https://github.com/microsoft/vscode/issues/157801


Flag Counter


©xgqfrms 2012-2020

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。