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



©xgqfrms 2012-2020

www.cnblogs.com/xgqfrms 發佈文章使用:只允許註冊用戶纔可以訪問!

原創文章,版權所有©️xgqfrms, 禁止轉載 🈲️,侵權必究⚠️!


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章