all repos — nixfiles @ b1208e513d25cecffa465ec17dfb785f91a50279

System and user configuration, managed by nix and home-manager

Emacs: Add command to open pull requests

Alan Pearce
commit

b1208e513d25cecffa465ec17dfb785f91a50279

parent

ed67fa8bb1b4b253cd55801d906ac67ff6ec990f

1 file changed, 5 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -567,6 +567,11 @@ (interactive "sfeature: ")
(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)