From 948b76763a5274ecfefb7627391cc0dd5788c1f7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 11 Apr 2023 11:08:44 +0200 Subject: emacs: enable completion of commands and envvars in shell scripts --- user/emacs/init.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'user/emacs') diff --git a/user/emacs/init.el b/user/emacs/init.el index 89d06cb8..1ab91738 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -487,6 +487,12 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (when (display-graphic-p) (company-posframe-mode +1)))) +(use-package company-shell + :after company + :config (progn + (setq company-shell-clean-manpage t) + (add-to-list 'company-backends '(company-shell company-shell-env)))) + (use-package all-the-icons :defer t :config (setq all-the-icons-color-icons nil)) -- cgit 1.4.1