Skip to content

Commit

Permalink
Default to popup eshell
Browse files Browse the repository at this point in the history
  • Loading branch information
condy0919 committed Mar 6, 2024
1 parent adfaf90 commit de9ea7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lisp/init-shell.el
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ current directory."
:ensure nil
:hook ((shell-mode . shell-mode-common-init)
(shell-mode . revert-tab-width-to-default))
:bind ("M-`" . shell-toggle) ;; was `tmm-menubar'
:config
(defun shell-toggle ()
"Toggle a persistent shell popup window.
Expand All @@ -145,10 +144,11 @@ If popup is focused, kill it."
(shell-kill-buffer-on-exit t)
(shell-get-old-input-include-continuation-lines t))

;; For windows, use eshell instead.
;; Use eshell everywhere.
;;
;; `eshell' is recommended to use over `tramp'.
(use-package eshell
:ensure nil
:when (eq system-type 'windows-nt)
:bind ("M-`" . eshell-toggle)
:config
(defun eshell-toggle ()
Expand Down

0 comments on commit de9ea7a

Please sign in to comment.