My collection of dotfiles. My goal is to use the same configuration on Linux, macOS, and Windows.
I currently use the following platforms:
- Fedora 39 Workstation
- macOS 12, 14
- Windows 11
xcode-select --install
brew install stow
brew install font-jetbrains-mono-nerd-font
brew install alacritty
brew install tmux
brew install neovim
brew install cmake
brew install ripgrep
brew install fd
brew install hammerspoon
brew install gpg
brew install pinentry-mac
# stow configs
for d in alacritty gitconfig hammerspoon neovim tmux zsh; do stow -t ~ $d; done
# setup pinentry for gpg
echo "pinentry-program $(brew --prefix)/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
killall gpg-agent
How to get things working on Windows...
Download Scoop and follow the quickstart. (Other tools like Chocolately are available.)
This is the scoop quickstart:
> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time
> irm get.scoop.sh | iex
Install packages:
> scoop install git
> scoop install clangd
> scoop install gcc
> scoop install go
> scoop install python
> scoop install neovim
> scoop install cmake # required by telescope-fzf-native
> scoop install ripgrep # required by telescope
winget install "Microsoft.VisualStudio.2022.BuildTools" # C++ BuildTools also required by telescope-fzf-native
winget install GnuPG.Gpg4win
> New-Item -ItemType SymbolicLink -Path "$env:USERPROFILE\AppData\Local\nvim" -Target "$env:USERPROFILE\dotfiles\neovim\.config\nvim"
> New-Item -ItemType SymbolicLink -Path "$env:USERPROFILE\.gitconfig" -Target "$env:USERPROFILE\dotfiles\git@home-windows\.gitconfig"