Git Bash auto open home(~) when open更新于 2020-11-11写于 2020-11-11bash1echo " 2 3if [ \"\$(pwd)\" == '/' ]; then 4 cd ~ 5fi 6 7" >> ~/.bash_profile