]> git.eshelyaron.com Git - emacs.git/commit
Fix path for current directory in eshell on MS-Windows
authorBernhard Rotter <bernhard.rotter@gmail.com>
Thu, 30 May 2019 08:13:00 +0000 (10:13 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 8 Jun 2019 08:29:34 +0000 (11:29 +0300)
commit8a75bde4a6c7bfd87ad3265195cffb2a3a29c662
tree764f6c34bb3f8d8f1c4297266568afd4c7d3932f
parent1cc90d21d6e1aa21ab99d163796b41920b413ac7
Fix path for current directory in eshell on MS-Windows

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.
lisp/eshell/em-cmpl.el
lisp/eshell/esh-ext.el
lisp/eshell/esh-util.el