Skip to content

Commit

Permalink
docs: add basic usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbruijn committed May 11, 2024
1 parent 01139e1 commit a4f3eb0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ $ ./bootstrap

## Usage

TBD
To update the dotfiles locally, pull the latest changes from GitHub and run the bootstrap script again. The `NO_MACOS` environment variable can be used to skip the macOS settings, e.g. `NO_MACOS=1 ./bootstrap`.

```shell
$ git pull
$ ./bootstrap
```

## Contributing

Expand Down
6 changes: 4 additions & 2 deletions bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ install_homebrew() {

install_software() {
echo " INFO: installing software with Homebrew Bundle"
HOMEBREW_COLOR=1 brew bundle --quiet \
HOMEBREW_COLOR=1 brew bundle \
--file="macos/Brewfile" \
--quiet \
| sed -u '/^Using/d' \
| sed -u 's/^/ /'
}
Expand All @@ -68,7 +70,7 @@ source python/install
source zsh/install

if [ -z "${NO_MACOS}" ]; then
source macos
source macos/settings
fi

exit 0
File renamed without changes.
File renamed without changes.

0 comments on commit a4f3eb0

Please sign in to comment.