From aa9c4f63edcd9d9f609f61530fcb53226fcac8b7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 27 Feb 2019 14:43:24 -0500 Subject: [PATCH] Fix :cd #1208 --- modules/config/default/autoload/evil.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/config/default/autoload/evil.el b/modules/config/default/autoload/evil.el index a813659a1..8d5a1d54a 100644 --- a/modules/config/default/autoload/evil.el +++ b/modules/config/default/autoload/evil.el @@ -16,10 +16,11 @@ (evil-line-move (- (* 6 (or count 1)))))) ;;;###autoload (autoload '+default:cd "config/default/autoload/evil" nil t) -(evil-define-command +default:cd () +(evil-define-command +default:cd (path) "Change `default-directory' with `cd'." (interactive "") - (cd input)) + (cd path) + (message "Changed directory to '%s'" (abbreviate-file-name (expand-file-name path)))) ;;;###autoload (autoload '+default:kill-all-buffers "config/default/autoload/evil" nil t) (evil-define-command +default:kill-all-buffers (&optional bang)