From 21f3adde0bf8a7e9fe0859dfb82bbfb7cab19582 Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Sat, 25 May 2024 12:45:57 +0200 Subject: [PATCH] add eshell git pull --- bba-shell.org | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bba-shell.org b/bba-shell.org index 2f1c075f..1abdf0f7 100644 --- a/bba-shell.org +++ b/bba-shell.org @@ -97,6 +97,14 @@ A little bit of code from https://github.com/bodil/emacs.d/blob/master/bodil/bod ;; (defalias 'eshell/man "tramp-aware-woman ${*man -w $1}") :: (defalias 'man "woman-find-file ${*man --path $1}") #+end_src + +#+begin_src elisp + (defalias 'pull '(lambda () + (shell-command "git stash") + (shell-command "git pull --rebase origin ") + (shell-command "git stash pop"))) +#+end_src + ** [[https://codeberg.org/akib/emacs-eat/][eat]] [2024-02-05 Mon 12:10] -- 2.47.3