【Mac 终端】切换默认终端

2017-06-17  本文已影响1176人  dongbingliu
image.png

Mac 系统安装了 zsh 终端与系统默认终端

终端切换命令 :

bash 终端切回 zsh 终端:

chsh -s /bin/zsh

zsh 终端切回 bash 终端:

chsh -s /bin/bash

终端中使用adb,zsh

open .zshrc
然后找到# User configuration部分,添加
source ~/.bash_profile

执行source .zshrc

其中.bash_profile 内容

export PATH=${PATH}:/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools:/Applications/adt-bundle-mac-x86_64-20140702/sdk/tools
#export PS1="\u \w$"
#export CLICOLOR=1
上一篇 下一篇

猜你喜欢

热点阅读