From 7922a0dc6c19a41872540603e25a0dc3de4080f9 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 21 Jun 2018 11:29:21 +0200 Subject: Emacs: Add git-chore command --- emacs/.emacs.d/main.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'emacs/.emacs.d') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index cd858cf8..29315281 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -537,6 +537,11 @@ (projectile-with-default-dir (projectile-project-root) (call-process-shell-command (concat "git feature " feature)))) + (defun git-chore (chore) + (interactive "schore: ") + (projectile-with-default-dir (projectile-project-root) + (call-process-shell-command (concat "git chore " chore)))) + (defun open-pull-request () (interactive) (async-shell-command "git pull-request")) -- cgit 1.4.1