mirror of
https://github.com/alexanderepstein/Bash-Snippets
synced 2018-11-08 02:59:35 +01:00
Adding homebrew cask install, uninstall and update to README
This commit is contained in:
parent
0344d2d231
commit
36dabd4ee7
21
README.md
21
README.md
@ -221,6 +221,13 @@ Gets the link that is being masked by a url shortner
|
|||||||
|
|
||||||
## Installing
|
## 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```
|
* First clone the repository: ```git clone https://github.com/alexanderepstein/Bash-Snippets```
|
||||||
|
|
||||||
* Then cd into the cloned directory: ```cd 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
|
## 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
|
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.
|
Ex.
|
||||||
```bash
|
```bash
|
||||||
@ -257,6 +272,12 @@ This will clone the repository and install the new versions of scripts that were
|
|||||||
|
|
||||||
## Uninstalling
|
## 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```
|
* 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```
|
* cd into the Bash-Snippets directory: ```cd Bash-Snippets```
|
||||||
|
Loading…
Reference in New Issue
Block a user