Extend $PATH variable in git bash under Windows

后端 未结 3 865
说谎
说谎 2021-02-05 06:33

I\'m trying to extend my $PATH variable in git bash (MinGW shell) by adding the following to the file ~/.bashrc

PATH=$PATH\':/c/Program Files/maven/apache-maven-         


        
3条回答
  •  醉酒成梦
    2021-02-05 06:54

    According to this SO post, you need to escape Program Files with quotes. git-bash $PATH cannot parse windows directory with space

提交回复
热议问题