Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
README: add installation instruction for Homebrew package manager.
Browse files Browse the repository at this point in the history
  • Loading branch information
CodesOfRishi committed Dec 19, 2021
1 parent 9d22a15 commit ca7d7e6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,22 @@ Tested on [Zsh](https://www.zsh.org/) & [Bash](https://www.gnu.org/software/bash

3. Open a new shell or reload your shell configuration file.

### Using Homebrew

Currently has `v2.0.1`.

```bash
brew tap CodesOfRishi/smartcd
brew install smartcd
echo "source \$( whereis -b smartcd.sh | awk '{print \$2}' )" >> $HOME/.bashrc # or $HOME/.zshrc if using Zsh
```

This will also install the required dependencies, but you may have to install the optional dependencies yourself.

```bash
brew upgrade smartcd # to upgrade smartcd
```


## Configurations
<details>
Expand Down

0 comments on commit ca7d7e6

Please sign in to comment.