From 36dabd4ee70cd882f732816c6bb52770994ca0e2 Mon Sep 17 00:00:00 2001 From: Alex Epstein Date: Sat, 8 Jul 2017 14:49:50 -0400 Subject: [PATCH] Adding homebrew cask install, uninstall and update to README --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 14638ce..2bf90ea 100644 --- a/README.md +++ b/README.md @@ -221,6 +221,13 @@ Gets the link that is being masked by a url shortner ## Installing +### For Mac via homebrew +```bash +brew install chainsawbaby/formula/bash-snippets +``` + +### Otherwise + * First clone the repository: ```git clone https://github.com/alexanderepstein/Bash-Snippets``` * Then cd into the cloned directory: ```cd Bash-Snippets``` @@ -244,6 +251,14 @@ this will let you choose which scripts to install ``` ## Updating + +### For Mac if installed via homebrew +```bash +brew update bash-snippets +``` + +### Otherwise + With any of the installed tools you can automate the update by running it with the -u option or passing in update as the arguments Ex. ```bash @@ -257,6 +272,12 @@ This will clone the repository and install the new versions of scripts that were ## Uninstalling +### For Mac if installed via homebrew +```bash +brew uninstall bash-snippets +``` + +### Otherwise * If you don't have the Bash-Snippets folder anymore clone the repository: ```git clone https://github.com/alexanderepstein/Bash-Snippets``` * cd into the Bash-Snippets directory: ```cd Bash-Snippets```