From 3c84e891ae9918ae0b2ab0fa384ac3cf8e521aff Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Mon, 30 Oct 2023 02:16:16 +0200 Subject: emacs: use xterm-256 & comment out yay completions --- .emacs.d/modules/thanos-shells.el | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to '.emacs.d/modules/thanos-shells.el') 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))))) -- cgit v1.2.3