phpstorm 终端设置

1.打开设置页,Tools -> Terminal

2.shell path 设置为 : git安装目录\Git\bin\bash.exe

3.字符编码  git log 显示 乱码 , 设置utf8  ,在 git安装目录 \Git\etc\bash.bashrc,文件最后添加 

# 解决 IDEA 下的 terminal 中文 Unicode 编码问题
export LANG="zh_CN.UTF-8"
export LC_ALL="zh_CN.UTF-8"


参考:https://qq52o.me/2520.html

 

posted on 2019-11-19 10:35  少杨  阅读(1301)  评论(0编辑  收藏  举报