Homebrew, fish, git, Hammerspoon…
- Bootstrap script (
bootstrap.bash
) that syncs dotfiles to home dir, installs latest fish with Homebrew if missing and applies fish settings (universal vars) - fish config (
.config/fish
) including 2-line prompt with user, host, working dir, git status (assumes terminal with dark background); e.g.
Experimental hack: The user, host and current working dir parts are dimmed when they don't change for less distraction; e.g.
- Hammerspoon settings
- Homebrew formulae (
brew.bash
)
Prerequisites: MacOS command-line tools, Homebrew.
./bootstrap.bash
(or./bootstrap.bash -f
to avoid the confirmation prompt)- If necessary, add fish to the system shells and make it your default shell:
which fish >> /etc/shells
chsh -s $(which fish)
Suggestions and improvements welcome.
Original inspiration from https://github.com/mathiasbynens/dotfiles.