summary refs log tree commit diff stats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
authorAlan Pearce2018-06-21 11:29:21 +0200
committerAlan Pearce2018-06-21 11:29:21 +0200
commit7922a0dc6c19a41872540603e25a0dc3de4080f9 (patch)
tree2bc7844562a1dfca7973b4a52eb71e477c0ec8d3 /emacs/.emacs.d
parent3ee4e29e788dbf5b7caff9c145ba82793d86a4f4 (diff)
downloadnixfiles-7922a0dc6c19a41872540603e25a0dc3de4080f9.tar.lz
nixfiles-7922a0dc6c19a41872540603e25a0dc3de4080f9.tar.zst
nixfiles-7922a0dc6c19a41872540603e25a0dc3de4080f9.zip
Emacs: Add git-chore command
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/main.el5
1 files changed, 5 insertions, 0 deletions
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"))