Skip to content

mikeduminy/dotfiles

Repository files navigation

Mike's XDG config

This repo uses the XDG Base Direction Specification to organise config files. The official documentation is fairly sparse, so to get a better understanding of the system I'd recommend looking at the archlinux wiki.

This is just a recommendation. Feel free to deviate, but remember to update the values for the XDG environment variables. The defaults are defined in .zshenv.

NOTE: Only intended to be used on a Mac.

Requirements

  • bash
  • zsh
  • git

Quickstart

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/mikeduminy/dotfiles/HEAD/bootstrap.sh)"

Software

Quality-of-life software

Manual installation

  1. Clone this repo into ~/.xdg/config
  2. Link the zsh config files from this repo to the root ones
ln -s ~/.xdg/config/zsh/.zshrc ~/.zshrc
ln -s ~/.xdg/config/zsh/.zshenv ~/.zshenv
ln -s ~/.xdg/config/zsh/.zprofile ~/.zprofile
  1. If you are on Mac then for GUI programs launched from outside the terminal to detect your XDG config home you may also need to run this. This script is only run on log-in so log out and in to see it apply.
ln -s ~/.xdg/config/LaunchAgents/xdg-env-launch-agent.plist ~/Library/LaunchAgents/xdg-env-launch-agent.plist
  1. Install homebrew (if you don't have it)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew update
  1. Install main tools
brew tap homebrew/cask-fonts
brew install \
  neovim  \
  ripgrep \
  stylua  \
  lazygit \
  gnu-sed \
  font-jetbrains-mono-nerd-font \
  starship \
  fd \
  bat \
  eza \
  procs \
  sd \
  zoxide \
  dust \
  tokei \
  hyperfine \
  git-delta
  1. Install quality-of-life tools
brew install \
  bluesnooze

brew install --cask \
  wezterm \
  1password \
  xcodes \
  insomnia \
  raycast \
  cleanshot \
  microsoft-edge \
  beyond-compare \
  displaylink