且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

更改mingw的启动目录或创建mingw符号链接

更新时间:2023-11-09 11:56:34

使用安装点代替符号链接. mingw不支持ntfs符号链接(无论如何它们还是很新的),但是挂载点在大多数用例中都是可以的(例如,简单地访问在mingw之外工作的目录).

Use mount points instead of symlinks. mingw doesn't support ntfs symlinks (they're rather new anyway), but mount points are okay for most use cases (such as simple access to the directory you're working in outside mingw).

最简单的设置新默认目录的方法可能是在主目录中使用.bashrccd设置为所需目录.

And the easiest way to set a new default directory is probably using a .bashrc in the home directory that cds to the desired directory.