No need for counsel with vertico

This commit is contained in:
Howard Abrams 2022-05-03 11:07:34 -07:00
parent 71e966668a
commit 0b64f4ab26

View file

@ -253,7 +253,7 @@ Simply calling =vterm= fails to load my full environment, so this allows me to s
#+BEGIN_SRC emacs-lisp
(defun ha-shell (&optional directory)
"Creates and tidies up a =vterm= terminal shell in side window."
(interactive (list (counsel-read-directory-name "Starting Directory:" (projectile-project-root))))
(interactive (list (read-directory-name "Starting Directory: " (projectile-project-root))))
(let* ((win-name "Terminal")
(buf-name (format "*%s*" win-name))
(default-directory (or directory default-directory)))