summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 61da217..8ac0c37 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -567,6 +567,11 @@
               (projectile-with-default-dir (projectile-project-root)
                 (call-process-shell-command (concat "git feature " feature))))
 
+            (defun open-pull-request ()
+              (interactive)
+              (async-shell-command "hub pr"))
+            (defalias 'open-pr #'open-pull-request)
+
             (setq projectile-switch-project-action #'projectile-commander
                   projectile-completion-system 'ivy
                   projectile-create-missing-test-files t)