These are my dotfiles, they're pretty cool but also pretty basic. I prefer that they are easy to set up and understand over being super cool with tons of options that I never remember. I also don't use vim.
Bare Git repo
The dotfiles are managed using a bare
Git repo, see this popular guide for an idea of how it works. This setup differs a bit from the one in the guide though.
Features
In short, this is what is included:
bash
andfish
🐟 stuffbrew
packages and casksgit
config with aliases and defaultspnpm
for global npm packages- macOS defaults
1) Clone to a bare Git repo (.dotfiles/setup-dotfiles-git.sh
)
To automatically set up the bare Git repo and check out the dotfiles, run:
curl -fsSL "https://raw.githubusercontent.com/duniul/dotfiles/main/.dotfiles/setup-dotfiles-git.sh" | bash
- If you don't feel like curling the script, you can have a look at it yourself and run the steps manually.
- If the script fails, e.g. because of conflicting files, clear up the issues and either run the script again or follow the instructions in the command.
2) Run the setup script (.dotfiles/setup.sh
)
bash "~/.dotfiles/setup.sh"
- Installs Homebrew + packages and casks
- Installs Fisher + packages
- Installs pnpm + global packages
- Sets
$PATH
3) Set sensible macOS settings (.macos
)
bash "~/.macos"
This script configures a lot of stuff on your Mac, so have a quick look at it before running it if you're not familiar with it. If you're confused about what the different commands do, see this reference guide.
- The dootin' skeleton image in this readme was made by Hot Paper Comics, specifically this reddit post.
- Many parts of this repo were inspired by other dotfile setups: