From 98eecef8f21cbfb255ca16bc33567cd0d772994e Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Thu, 22 Aug 2024 15:47:09 +0900 Subject: [PATCH] Add my-git-si alias --- emacs.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/emacs.el b/emacs.el index eacd31e..343bf16 100644 --- a/emacs.el +++ b/emacs.el @@ -1889,8 +1889,10 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called." (when (fboundp 'git-command) (define-key ctl-x-map "g" 'git-command)) -(when (fboundp 'gited-list) - (defalias 'gited 'gited-list)) +;; (when (fboundp 'gited-list) +;; (defalias 'gited 'gited-list)) +(when (fboundp 'counsel-git-checkout) + (defalias 'my-git-si 'counsel-git-checkout)) (when (and (eval-and-compile (require 'git-commit nil t)) (fboundp 'global-git-commit-mode))