Philippe Serhal's dotfiles#
Personal dotfiles managed with GNU Stow.
Prerequisites#
Homebrew Packages#
brew install bash-completion coreutils difftastic font-inconsolata-nerd-font gh git gnupg htop hub mise neovim ripgrep shellcheck starship stow the_silver_searcher tree-sitter tree-sitter-cli wget
Change Default Shell to Bash#
chsh -s /bin/bash
Restart your terminal for the change to take effect.
Installation#
From within this repo's directory, run the following command to create the symlinks:
stow -d stow-packages -t ~ ag bash git iterm2 mise nvim ssh
Then, iTerm and iStat Menus require additional configuration:
for plist in *.plist
do
defaults write $plist PrefsCustomFolder -string "$(pwd)"
defaults write $plist LoadPrefsFromCustomFolder -bool true
done
Note: After installation, restart iTerm2 completely. If the Inconsolata Nerd Font doesn't appear correctly, go to iTerm2 → Settings → Profiles → Text and manually re-select "InconsolataNF-Regular" as the font to refresh the font cache.
To stow individual packages, run:
stow -d -t ~ stow-packages <package_name>
For example: stow -d -t ~ stow-packages git
Tool Versions#
I use mise to manage tool versions.
-
Trust the configuration:
mise trust ~/.mise.toml -
Install the tools:
mise install