Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MacOS installation instructions in README #16

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ $ sudo wget -qO- https://github.com/onilton/ogl/releases/download/v0.0.2/ogl-lin
### On MacOS
```
$ curl -sL https://github.com/onilton/ogl/releases/download/v0.0.2/ogl-macos.tar | tar x -C /usr/local/bin/

```

Or with wget:
Expand All @@ -39,6 +38,17 @@ Or with wget:
$ wget -qO- https://github.com/onilton/ogl/releases/download/v0.0.2/ogl-macos.tar | tar x -C /usr/local/bin/
```

Access to `usr/bin` is restricted after Catalina 2019. A semi-secure work around is to create a new bin folder (in home directory for example) and link to PATH:
\*Feel free to use wget instead of curl
\*Add export path line to `.bashrc` for OS X or `.zshrc` for perminant usage

```
$ mkdir ~/bin
$ export PATH="${HOME}/bin:${PATH}"
$ curl -sL https://github.com/onilton/ogl/releases/download/v0.0.2/ogl-macos.tar | tar x -C ~/bin/
$ chmod -R go-w ${HOME}/bin
```

## Config file

You can change some settings like colors in `~/.ogl`. An example config:
Expand Down