From b1208e513d25cecffa465ec17dfb785f91a50279 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 16 Nov 2017 12:54:36 +0100 Subject: Emacs: Add command to open pull requests --- emacs/.emacs.d/main.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'emacs') 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) -- cgit 1.4.1