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-packages.el | 4 ++-- .emacs.d/modules/thanos-shells.el | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) (limited to '.emacs.d') diff --git a/.emacs.d/modules/thanos-packages.el b/.emacs.d/modules/thanos-packages.el index 5dbb00b..5b4f098 100644 --- a/.emacs.d/modules/thanos-packages.el +++ b/.emacs.d/modules/thanos-packages.el @@ -60,8 +60,8 @@ "Packages to install.") (defvar thanos/local-package-repos - '((yeetube :local-repo "~/Developer/emacs-lisp/yeetube") - (pcomplete-yay :local-repo "~/Developer/emacs-lisp/pcomplete-yay")) + '((yeetube :local-repo "~/Developer/emacs-lisp/yeetube")) + ;; (pcomplete-yay :local-repo "~/Developer/emacs-lisp/pcomplete-yay")) "Pacakges I'm working on locally.") ;; Get packages via straight 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