Skip to content

Instantly share code, notes, and snippets.

@TheBinitGhimire
Created September 5, 2020 11:38
Show Gist options
  • Save TheBinitGhimire/c5944a35e544296e4a3818e00ed7979e to your computer and use it in GitHub Desktop.
Save TheBinitGhimire/c5944a35e544296e4a3818e00ed7979e to your computer and use it in GitHub Desktop.
setupy | Save your time while installing Python tools from GitHub!
# Setupy by Binit!
setupy(){
git clone https://github.com/$1/$2 && cd $2 && python3 setup.py install && cd .. && rm -r $2;
}
# Installation
echo -e "\nsetupy(){\n\tgit clone https://github.com/\$1/\$2 && cd \$2 && python3 setup.py install && cd .. && rm -r \$2;\n}" >> ~/.*shrc && source ~/.*shrc
# Usage
setupy author repository
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment