Compare commits
2 Commits
68efd1a67e
...
4e9d804bca
| Author | SHA1 | Date | |
|---|---|---|---|
| 4e9d804bca | |||
| 5e03486be9 |
16
init.el
16
init.el
@ -2544,11 +2544,7 @@ eventuelly be set to nil, however)."
|
||||
comint-completion-addsuffix t
|
||||
comint-buffer-maximum-size 100000
|
||||
comint-input-ring-size 5000)
|
||||
:config (progn
|
||||
;; Never let bash know that we are inside Emacs;
|
||||
;; cf. https://coredumped.dev/2020/01/04/native-shell-completion-in-emacs/
|
||||
(advice-add 'comint-term-environment
|
||||
:filter-return #'(lambda (env) (cons "INSIDE_EMACS" env)))))
|
||||
:config (add-hook 'comint-output-filter-functions 'comint-strip-ctrl-m))
|
||||
|
||||
(use-package term
|
||||
:commands (term-send-string
|
||||
@ -2590,15 +2586,7 @@ eventuelly be set to nil, however)."
|
||||
:commands (shell)
|
||||
:config (progn
|
||||
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
|
||||
(add-hook 'comint-output-filter-functions 'comint-strip-ctrl-m)
|
||||
(add-hook 'shell-mode-hook 'with-editor-export-editor)
|
||||
|
||||
;; We may want to use readline support in bash, don't inhibit this
|
||||
;; with explicit command line arguments;
|
||||
;; cf. https://coredumped.dev/2020/01/04/native-shell-completion-in-emacs/
|
||||
|
||||
(setq explicit-bash-args
|
||||
(delete "--noediting" explicit-bash-args))))
|
||||
(add-hook 'shell-mode-hook 'with-editor-export-editor)))
|
||||
|
||||
(use-package db-eshell
|
||||
:commands (db/run-or-hide-eshell
|
||||
|
||||
Loading…
Reference in New Issue
Block a user