修改注册表 统一的方式,添加一个右键命令 找到HKEY_CLASSES_ROOTDirectoryBackgroundshell 右键,新建项。名字随便起 再次右键,新建项。命名command 修改数值为C:cygwin64inmintty.exe(Cygwin默认路径) 修改环境变量 修改配置文件.bashrc 添加:
HKEY_CLASSES_ROOTDirectoryBackgroundshell
项
command
C:cygwin64inmintty.exe
.bashrc
export PATH="$PATH:/bin/"
实验效果