simple command to create a pull request on github
Hitting TAB autocompletes the available base branches (searches locally only).
pr <base-branch>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
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
- git
- zsh
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
