diff --git a/README.md b/README.md index 23286d5..a6b4145 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ I wrote [ `brewlog`](https://github.com/robocopAlpha/brewlog/) to patch a minor `brewlog` is simple solution that can: -+ `log` homebrew/linuxbrew activity (`STDOUT` and `STDERR`) to a logfile (default: `~/Logs/brew.log`) ++ `log` [`brew`](https://brew.sh/) activity (`STDOUT` and `STDERR`) to a logfile (default: `~/Logs/brew.log`) + because brewlog is a a new command (and not an alias), the user still retains the freedom to run `brew [command] [formula]` in case they do not want to log some brew activity. + `tail` the `brew.log` file to display selected number of lines. + `archive` the brew.log file (user has to explicitly invoke this command to archive). @@ -35,7 +35,7 @@ Now you're easily able to track the changes made to your system while running `b #### a) Install from binary -1. Download the binary from the [latest release](https://github.com/robocopAlpha/brewlog/releases/latest) (should run on *nix with a homebrew installation). +1. Download the binary from the [latest release](https://github.com/robocopAlpha/brewlog/releases/latest) (should run on *nix with a [homebrew](https://brew.sh/) installation). 2. `mv brewlog /usr/local/bin/brewlog` or to some other place that is in your `$PATH`. 3. Familiarize yourself by running `brewlog —help`. diff --git a/brewlog.sh b/brewlog.sh index 4fb8239..f9e2f05 100644 --- a/brewlog.sh +++ b/brewlog.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ########### # author: Deepankar Chakroborty diff --git a/install.sh b/install.sh index 81bf3b6..99ef2c0 100644 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash BREWLOCATION=$(command -v brew) if [ "$?" -ne "0" ]; then echo "Homebrew/Linux brew installation not detected in your PATH."