summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-16 11:47:12 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-16 11:47:12 -0700
commit9203ce34d23ade93a69b2e454f47ce174c666cb6 (patch)
treefb3062612d43bcf5fca894722e1b38fe00fdf17d /emacs/custom
parentcompletion: a few more changes (diff)
downloademacs.d-9203ce34d23ade93a69b2e454f47ce174c666cb6.tar.gz
eshell: disable auto-completion
Diffstat (limited to '')
-rw-r--r--emacs/custom/my-eshell.el15
1 files 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)