diff options
author | Alan Pearce | 2017-11-16 12:54:36 +0100 |
---|---|---|
committer | Alan Pearce | 2017-11-16 12:54:36 +0100 |
commit | b1208e513d25cecffa465ec17dfb785f91a50279 (patch) | |
tree | eac0c7d5931c902acec676281ed29e16fe12d54b | |
parent | ed67fa8bb1b4b253cd55801d906ac67ff6ec990f (diff) | |
download | dotfiles-b1208e513d25cecffa465ec17dfb785f91a50279.tar.lz dotfiles-b1208e513d25cecffa465ec17dfb785f91a50279.tar.zst dotfiles-b1208e513d25cecffa465ec17dfb785f91a50279.zip |
Emacs: Add command to open pull requests
-rw-r--r-- | emacs/.emacs.d/main.el | 5 |
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) |