[Util] Quote current directory when switching to it in eshell
This commit is contained in:
parent
93fc26e426
commit
54a3cef8f3
|
@ -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 ()
|
||||
|
|
Loading…
Reference in New Issue