summaryrefslogtreecommitdiff
path: root/.emacs.d/modules/thanos-shells.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-10-30 02:16:16 +0200
committerThanos Apollo <[email protected]>2023-10-30 02:16:16 +0200
commit3c84e891ae9918ae0b2ab0fa384ac3cf8e521aff (patch)
tree25ee0cd3f8ac23cf0dec7369a81ee0d1b142e127 /.emacs.d/modules/thanos-shells.el
parent288b2da19386efa5e29dfcf0ea09a954d880bb42 (diff)
emacs: use xterm-256 & comment out yay completions
Diffstat (limited to '.emacs.d/modules/thanos-shells.el')
-rw-r--r--.emacs.d/modules/thanos-shells.el12
1 files changed, 7 insertions, 5 deletions
diff --git a/.emacs.d/modules/thanos-shells.el b/.emacs.d/modules/thanos-shells.el
index a06346d..c311d54 100644
--- a/.emacs.d/modules/thanos-shells.el
+++ b/.emacs.d/modules/thanos-shells.el
@@ -35,7 +35,7 @@
;; configuration with eat
-(require 'pcomplete-yay)
+;;(require 'pcomplete-yay)
;;
(require 'pcomplete)
@@ -47,11 +47,13 @@
:straight t
:hook
(eshell-mode . eat-eshell-mode)
- (eshell-mode . eat-eshell-visual-command-mode))
+ (eshell-mode . eat-eshell-visual-command-mode)
+ :config
+ (setf eat-term-name "xterm-256color"))
-;;;; sudo completion
-(defun pcomplete/sudo ()
- "Completion rules for the `sudo' command."
+;;;; doas completion
+(defun pcomplete/doas ()
+ "Completion rules for the `doas' command."
(let ((pcomplete-ignore-case t))
(pcomplete-here (funcall pcomplete-command-completion-function))
(while (pcomplete-here (pcomplete-entries)))))