 
 (defun +eshell--remove-buffer (buf)
   (when-let* ((idx (ring-member +eshell-buffers buf)))
-    (ring-remove +eshell-buffers idx)))
+    (ring-remove +eshell-buffers idx)
+    t))
 
 (defun +eshell--current-git-branch ()
   (let ((branch (car (cl-loop for match in (split-string (shell-command-to-string "git branch") "\n")

    (+eshell/open))
  (when command
    (+eshell-run-command command))
  (doom/workspace-display))

(defun +eshell-run-command (command)

  (interactive)
  (let ((buf (+eshell--buffer (eq major-mode 'eshell-mode))))
    (switch-to-buffer buf)
    (+eshell--set-window (get-buffer-window buf) t)
    (with-current-buffer buf
      (unless (eq major-mode 'eshell-mode) (eshell-mode)))
    (when command
