Skip to content

💀 doot doot it's my dotfiles

Notifications You must be signed in to change notification settings

duniul/dotfiles

Repository files navigation

doot doot

duniul's dootfiles

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 and fish 🐟 stuff
    • configs with exports, aliases, functions (bash/fish), abbreviations etc.
    • nice fisher packages
    • I use fish 99% of the time, but I like to keep corresponding exports, functions, and aliases available in bash as well
  • brew packages and casks
  • git config with aliases and defaults
  • pnpm for global npm packages
  • macOS defaults

Installation

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.

Credits