From 9203ce34d23ade93a69b2e454f47ce174c666cb6 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 16 Apr 2022 11:47:12 -0700 Subject: eshell: disable auto-completion --- emacs/custom/my-eshell.el | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/emacs/custom/my-eshell.el b/emacs/custom/my-eshell.el index 58d63b7..cb2587f 100644 --- a/emacs/custom/my-eshell.el +++ b/emacs/custom/my-eshell.el @@ -1,12 +1,12 @@ -;;; my-eshell.el --- Configure eshell +;;; my-eshell.el --- Configure eshell -*- lexical-binding: t -*- + ;;; Commentary: ;;; Code: (require 'use-package) (require 'cl-seq) -(require 'magit) - +(require 'vc) (require 'eshell) (require 'esh-mode) (require 'esh-module) @@ -43,9 +43,7 @@ (eshell/alias "ee" "find-file-other-window $1") (eshell/alias "ll" "ls -l") (eshell/alias "d" "dired $1") - (eshell/alias "gs" "magit-status") - (eshell/alias "gd" "magit-diff-unstaged") - (eshell/alias "gds" "magit-diff-staged") + (eshell/alias "gs" "vc-diff") (eshell/alias "cal" "calendar") (eshell/alias "agenda" "org-agenda")) @@ -144,7 +142,10 @@ append to it, while separating multiple outputs with (use-package eshell :hook ((eshell-mode . my/eshell-mode-setup) (eshell-mode . my/eshell-current-command-time-track) - (eshell-mode . eshell-smart-initialize)) + (eshell-mode . eshell-smart-initialize) + (eshell-mode . (lambda () + (setq-local corfu-auto nil) + (corfu-mode)))) :commands (eshell eshell-command) :bind (("C-c e h" . my/eshell-here) ("C-c e e" . my/eshell-export) -- cgit 1.4.1