lang/sh: fix +sh/open-repl
This commit is contained in:
parent
051bceb0a8
commit
661290e8d7
1 changed files with 3 additions and 1 deletions
|
@ -29,8 +29,10 @@
|
|||
;;;###autoload
|
||||
(defun +sh/open-repl ()
|
||||
"Open a shell REPL."
|
||||
(interactive)
|
||||
(let* ((dest-sh (symbol-name sh-shell))
|
||||
(sh-shell-file dest-sh))
|
||||
(sh-shell-process t)
|
||||
(with-current-buffer "*shell*"
|
||||
(rename-buffer (format "*shell [%s]*" dest-sh)))))
|
||||
(rename-buffer (format "*shell [%s]*" dest-sh))
|
||||
(current-buffer))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue