Tool | Description |
---|---|
Homebrew | Manages applications, system-wide binaries, and vscode plugins. (Including Mise and Stow). |
Mise | Manages tools that are usually project specific (eg. nodejs version). |
Stow | Symlinks the dotfiles, so it's easy to setup and maintain this repository. |
If you want to use this repository as the template of your own environment, you should create a fork and update the configuration as you wish (starting with the files in the table below). This way you will be able to pull my latest updates while maintaining your own, personalised version of the configuration.
File | Description |
---|---|
Brewfile | Contains apps, packages and vs code extensions. |
Gitconfig | Contains git configuration. Change at least the username. |
Mise | Contains the tools that I regularly use. |
For the brewfile, you most likely want to use your own set of packages.
# install basic required packages for this dotfiles
brew install mas mise starship stow git
Clone the repo to ~/dotfiles
# dump your packages
brew bundle dump --force --file ~/dotfiles/stow.d/home/dot-Brewfile
# check changes in git, and adjust the content for yourself
For local settings create a ~/.zshrc.local
and ~/.zprofile.local
, these will be loaded after each corresponding file.
For project specific config, create a mise.local.toml
in the project folder (gitignored by default if you linked the global gitignore), and add the required vars into that. https://mise.jdx.dev/environments/
After running the commands below, your whole environment will be set up and ready for work.
git clone [email protected]:latotty/dotfiles.git ~/dotfiles
cd ~/dotfiles
# Install Homebrew and the packages managed by it
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew bundle --file ./stow.d/home/dot-Brewfile
# Symlink the configuration files
./scripts/stow-setup.zsh
# If there is conflict errors from stow, move the marked files to a backup folder (and update the ones in the dotfiles if needed)
# Install the packages managed by `mise`
mise install
Use a Nerd font in your terminal
brew install --cask font-fira-code
For example add this to you vscode config:
"editor.fontFamily": "FiraCode Nerd Font",
"editor.fontLigatures": true,
On brew change: brew bundle dump --global --force
Visit https://github.com/balintant/dotfiles, we worked together to update our outdated zsh config 😅
First forker https://github.com/Trubius/dotfiles 🤗