[Util] Quote current directory when switching to it in eshell

This commit is contained in:
Daniel - 2018-10-18 17:38:54 +02:00
parent 93fc26e426
commit 54a3cef8f3
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ If already in `*ansi-term*' buffer, bury it."
(when arg
(end-of-line)
(eshell-kill-input)
(insert (format "cd %s" current-dir))
(insert (format "cd '%s'" current-dir))
(eshell-send-input))))))
(defun db/run-or-hide-shell ()