ShellBash在IDEA下配置编写
前提:已安装Git
①、在IDEA下安装bashsupport插件
②、Edit Configurations下配置Interpreter path

④、 在IDEA安装根目录的bin目录下找到 idea64.exe.vmoptions 或者 idea.exe.vmoptions 文件(和你电脑的操作系统位数有关),然后在最后一行加上 -Dfile.encoding=UTF-8 ,重启IDEA,控制台的编码就变成了UTF-8
③、新建Bash Script,运行即可