Skip to content

Commit

Permalink
feat: disable autocomplete in powershell.
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Sep 12, 2023
1 parent 8b6db65 commit e25c5f9
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 @@ -141,11 +141,11 @@
"Launches a powershell in buffer *powershell* and switches to it."
(interactive)
(let ((buffer (or buffer "*powershell*"))
(program (if (executable-find "pwsh") "pwsh"
"powershell")))
(program (if (executable-find "pwsh") "pwsh" "powershell")))
(make-comint-in-buffer "Powershell" buffer program nil "-NoProfile")
(with-current-buffer buffer
(setq-local mode-line-format nil))
(setq-local mode-line-format nil)
(and (bound-and-true-p corfu-mode) (corfu-mode -1)))
(pop-to-buffer buffer))))

;; Shell Pop: leverage `popper'
Expand Down

0 comments on commit e25c5f9

Please sign in to comment.