summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/main.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 20143785..61da217f 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -557,6 +557,16 @@
                 (projectile-switch-project-by-name
                  (expand-file-name project-dir (ghq--find-root)) arg)))
 
+            (defun git-bug (bug)
+              (interactive "sbug: ")
+              (projectile-with-default-dir (projectile-project-root)
+                (call-process-shell-command (concat "git bug " bug))))
+
+            (defun git-feature (feature)
+              (interactive "sfeature: ")
+              (projectile-with-default-dir (projectile-project-root)
+                (call-process-shell-command (concat "git feature " feature))))
+
             (setq projectile-switch-project-action #'projectile-commander
                   projectile-completion-system 'ivy
                   projectile-create-missing-test-files t)