我刚刚在我的电脑上安装了Cygwin。如果我输入 echo $PATH
我可以看到这个输出:
$ export $PATH
-bash: export: `/usr/local/bin:/usr/bin:/cygdrive/c/Program': not a valid identifier
-bash: export: `(x86)/NVIDIA': not a valid identifier
-bash: export: `Corporation/PhysX/Common:%CommonProgramFiles%/Microsoft': not a valid identifier
-bash: export: `Shared/Windows': not a valid identifier
-bash: export: `Live:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program': not a valid identifier
-bash: export: `Files/OpenVPN/bin:/cygdrive/c/Program': not a valid identifier
-bash: export: `(x86)/Git/cmd:/cygdrive/c/dev/java/apache-maven-3.2.3/bin:/cygdrive/c/programs/Java/jdk7/bin:/cygdrive/c/Users/edem/.lein/bin': not a valid identifier
似乎这里存在一些格式问题,但我不能指责它。可能是什么问题呢?
export PATH
。