update shebang in executables
Add link to homebrew in readme
This commit is contained in:
robocopAlpha 2020-08-10 09:31:53 +03:00
parent 03a2c1a3f9
commit 20c267d62e
3 changed files with 4 additions and 4 deletions

View file

@ -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`.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
###########
# author: Deepankar Chakroborty

View file

@ -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."