1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 23:28:02 +00:00

Compare commits

...

4 Commits

Author SHA1 Message Date
jbranchaud
73476a8d16 Add Install From Nonstandard Brewfile as a Brew TIL 2026-01-01 12:16:51 -07:00
jbranchaud
c5ce81f918 Update README to reflect current work 2026-01-01 12:06:16 -07:00
jbranchaud
32be787998 Update copyright year to 2026 2026-01-01 11:51:51 -07:00
jbranchaud
1d835d3553 Simplify notes:sync to pull directly into local main
Was fetching remote then checking out stale local branch
2026-01-01 11:51:23 -07:00
3 changed files with 30 additions and 5 deletions

View File

@@ -6,11 +6,11 @@ A collection of concise write-ups on small things I learn day to day across a
variety of languages and technologies. These are things that don't really
warrant a full blog post. These are things I've picked up by [Learning In
Public™](https://dev.to/jbranchaud/how-i-built-a-learning-machine-45k9) and
pairing with smart people at Hashrocket.
working across different projects via [VisualMode](https://www.visualmode.dev/).
For a steady stream of TILs, [sign up for my newsletter](https://visualmode.kit.com/newsletter).
_1715 TILs and counting..._
_1716 TILs and counting..._
See some of the other learning resources I work on:
@@ -131,6 +131,7 @@ If you've learned something here, support my efforts writing daily TILs by
- [Clean Up Your Brew Installations](brew/clean-up-your-brew-installations.md)
- [Configure Brew Environment Variables](brew/configure-brew-environment-variables.md)
- [Export List Of Everything Installed By Brew](brew/export-list-of-everything-installed-by-brew.md)
- [Install From Nonstandard Brewfile](brew/install-from-nonstandard-brewfile.md)
- [Install Go Packages In Brewfile](brew/install-go-packages-in-brewfile.md)
- [List All Services Managed By Brew](brew/list-all-services-managed-by-brew.md)
@@ -2056,7 +2057,7 @@ I shamelessly stole this idea from
## License
© 2015-2025 Josh Branchaud
© 2015-2026 Josh Branchaud
This repository is licensed under the MIT license. See `LICENSE` for
details.

View File

@@ -32,8 +32,7 @@ tasks:
notes:sync:
desc: Sync latest changes from the notes submodule
cmds:
- git submodule update --remote {{.NOTES_DIR}}
- cd {{.NOTES_DIR}} && git checkout main
- cd {{.NOTES_DIR}} && git checkout main && git pull
silent: false
notes:open:

View File

@@ -0,0 +1,25 @@
# Install From Nonstandard Brewfile
When you want to install the packages listed in the `Brewfile` for your current
project (or dotfiles), you can run:
```bash
$ brew bundle
```
And `brew` knows to look for and use the `Brewfile` in the current directory.
If, however, you are trying to run `brew bundle` for a `Brewfile` located
somewhere besides the current directory *OR* you want to target a file with a
non-standard name (like
[`Brewfile.personal`](https://github.com/jbranchaud/dotfiles/blob/main/Brewfile.personal)),
then you can use the `--file` flag.
```bash
$ brew bundle --file Brewfile.personal
```
This is what I do [here in my `dotfiles`
repo](https://github.com/jbranchaud/dotfiles/blob/b053f6251cae7ed52f698fc2a2c40ba82c5881b0/installer/mac-setup.sh#L42-L48).
See `man brew` and find the section on `brew bundle` for more details.