Skip to content

Commit d510cc2

Browse files
committed
Add tee to bootstrap.sh command in README
This commit will update the bootstrap command in the README to pipe to `tee` so the bootstrap session can be saved to a text file without the user having to manually copy and paste the text out of their terminal.
1 parent 0afb45f commit d510cc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ _bootstrap.sh_ is a shell script to automate setup of a new macOS or Linux devel
5454

5555
```sh
5656
STRAP_GIT_EMAIL="you@example.com" STRAP_GIT_NAME="Your Name" STRAP_GITHUB_USER="username" \
57-
/usr/bin/env bash -c "$(curl -fsSL https://raw.githubusercontent.com/br3ndonland/dotfiles/HEAD/bootstrap.sh)"
57+
/usr/bin/env bash -c "$(curl -fsSL https://raw.githubusercontent.com/br3ndonland/dotfiles/HEAD/bootstrap.sh)" |
58+
tee "$HOME/Desktop/bootstrap-$(date -u "+%Y-%m-%d").txt"
5859
```
5960

6061
The following environment variables can be used to configure _bootstrap.sh_, and should be either set before with [`export`](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#export), or inline within the command to run the script:

0 commit comments

Comments
 (0)