Skip to content

dnordgren/dotfiles

Repository files navigation

dotfiles

various configs for various softwares 💻

Setup

Homebrew Packages

Install all packages from the Brewfile:

cd ~/path/to/dotfiles
brew bundle install

To update the Brewfile with your current packages:

cd ~/path/to/dotfiles
brew bundle dump --force

GPG Setup for Git Commit Signing

After installing gnupg and pinentry-mac from the Brewfile, configure GPG:

  1. Fix GPG directory permissions:

    chmod 700 ~/.gnupg
  2. Configure GPG to use pinentry-mac for passphrase prompts:

    echo "pinentry-program $(which pinentry-mac)" >> ~/.gnupg/gpg-agent.conf
    gpgconf --kill gpg-agent
  3. Verify GPG signing works:

    echo "test" | gpg --clearsign

    You should be prompted for your passphrase.

Zsh Configuration

  1. Symlink the zsh config:

    ln -s ~/path/to/dotfiles/zsh/.zshrc ~/.zshrc
  2. Install oh-my-zsh (if not already installed):

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  3. Important: For hstr + fzf C-r search to work, you need to have ~/.fzf.zsh available. If you're migrating to a new machine, copy your existing ~/.fzf.zsh file or generate it by reinstalling fzf:

    brew reinstall fzf
    /opt/homebrew/opt/fzf/install
  4. Reload your shell:

    source ~/.zshrc

Doom Emacs Configuration

See emacs/.doom.d/README.md for Doom Emacs setup instructions.

BBEdit Command Line Tools

After installing BBEdit, install the command line tools to enable the bbedit command:

  1. Open BBEdit
  2. Go to BBEdit → Install Command Line Tools...
  3. Click Install

This installs the bbedit command to /usr/local/bin/bbedit and is required for:

  • Using BBEdit as your $EDITOR
  • The bb alias in .zshrc
  • Claude Code's C-g editor integration

About

various configs for various softwares 💻

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •