Skip to content

nicbotes/zsh-pull-request

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

simple command to create a pull request on github

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages