From 274f2c2e7646e64e3c00a06caaef8dc738aaf567 Mon Sep 17 00:00:00 2001 From: Dimitri Lozeve Date: Sun, 16 Jun 2024 19:04:17 +0200 Subject: [PATCH] Update eshell config --- eshell/alias | 4 ++++ init.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/eshell/alias b/eshell/alias index de8a886..2f49fad 100644 --- a/eshell/alias +++ b/eshell/alias @@ -1,7 +1,11 @@ alias ff find-file $1 +alias ffo find-file-other-window $1 alias d dired $1 alias cls clear 1 alias ll ls -lh $* alias la ls -Ah $* alias lla ls -lAh $* + +alias gs magit-status-here +alias gd magit-diff-unstaged diff --git a/init.el b/init.el index 7cd1f1f..c8fcb36 100644 --- a/init.el +++ b/init.el @@ -1036,8 +1036,8 @@ (setq eat-enable-shell-prompt-annotation nil) (setopt eat-very-visible-cursor-type '(t nil nil)) (setopt eat-default-cursor-type '(t nil nil)) + (setq eshell-visual-commands '()) (add-hook 'eshell-load-hook #'eat-eshell-mode) - (add-hook 'eshell-load-hook #'eat-eshell-visual-command-mode) (setq process-adaptive-read-buffering nil) (setq read-process-output-max (* 4 1024 1024)))