summary refs log tree commit diff stats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
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 61da217f..8ac0c37d 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)