Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.24 KB

README.md

File metadata and controls

60 lines (42 loc) · 1.24 KB

HitCount

zsh-pull-request

simple command to create a pull request on github

Usage

Hitting TAB autocompletes the available base branches (searches locally only).

pr <base-branch>

pr

Installation

Using Zsh

zsh -c "$(curl -fsSL https://raw.githubusercontent.com/nicbotes/zsh-pull-request/master/install.sh)"

reference the pr function in your ~/.zshrc

echo \"source ~/.oh-my-zsh/functions/pr\" >> ~/.zshrc

Using Bash

bash -c "$(curl -fsSL https://raw.githubusercontent.com/nicbotes/zsh-pull-request/master/bash-install.sh)"

reference the pr function in your ~/.bashrc

echo \"source ~/.oh-my-zsh/functions/pr\" >> ~/.bashrc

Requirements

  • git
  • zsh

Uninstalling

For Zsh

rm ~/.oh-my-zsh/completions/_pr
rm ~/.oh-my-zsh/functions/pr

and remove the reference to the pr function in your ~/.zshrc

For Bash

rm ~/.custom-shell-commands/completions/_pr
rm ~/.custom-shell-commands/functions/pr

and remove the reference to the pr function in your ~/.bashrc