mirror of
https://github.com/dchakro/brewlog.git
synced 2026-05-17 10:12:16 -07:00
Updates
update shebang in executables Add link to homebrew in readme
This commit is contained in:
parent
03a2c1a3f9
commit
20c267d62e
3 changed files with 4 additions and 4 deletions
|
|
@ -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`.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
###########
|
||||
# author: Deepankar Chakroborty
|
||||
|
|
|
|||
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue