• Bernhard Rotter's avatar
    Fix path for current directory in eshell on MS-Windows · 8a75bde4
    Bernhard Rotter authored
    On MS-Windows, PATH implicitly includes the current directory.
    Do it right for Eshell by adding "./" instead of ".", to
    avoid finding .FOO instead of ./FOO.
    * lisp/eshell/esh-util.el (eshell-get-path): New function.
    * lisp/eshell/em-cmpl.el (eshell-complete-commands-list):
    * lisp/eshell/esh-ext.el (eshell-search-path): Use eshell-get-path.
    8a75bde4
esh-util.el 25.5 KB