Navigation Menu

Skip to content

Commit

Permalink
Ensure point is at prompt in cd-to-cwd-shell
Browse files Browse the repository at this point in the history
  • Loading branch information
myrjola committed Jul 26, 2015
1 parent 9dd6874 commit 1f47b42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shell-pop.el
Expand Up @@ -204,6 +204,7 @@ The input format is the same as that of `kbd'."
(eshell-reset)))

(defun shell-pop--cd-to-cwd-shell (cwd)
(end-of-buffer)
(comint-kill-input)
(insert (concat "cd " (shell-quote-argument cwd)))
(let ((comint-process-echoes t))
Expand Down

0 comments on commit 1f47b42

Please sign in to comment.