我克隆了repo https://github.com/revans/bash-it.git并在linux下成功安装了它,但遇到麻烦时我试图在Windows7下安装MSYS。为什么mkdir在Windows 7下安装bash-it时出错MSYS
在install.sh:
function load_all() {
file_type=$1
[ ! -d "$BASH_IT/$file_type/enabled" ] && mkdir "$BASH_IT/${file_type}/enabled"
ln -s $BASH_IT/${file_type}/[^_]available/* "${BASH_IT}/${file_type}/enabled"
}
它返回这样
Would you like to enable all, some, or no aliases? Some of these may make bash s
lower to start up (especially completion). (all/some/none) all
mkdir: cannot create directory `/c/Users/Dan/.bash_it/aliases/enabled': No such
file or directory
一些错误看起来路径是正确的,并引述,我已经运行CMD以管理员身份,然后运行msys.bat ,还有什么可能是错的?
“'/c/Users/Dan/.bash_it/aliases/enabled“:没有这样 文件或目录”由下一提出line'ln -s ...'它引发了这个问题,因为mkdir失败了 – xdan 2012-08-01 02:21:49