/dotfiles

Collection of files containing my macOS and Ubuntu configurations

Primary LanguageShellThe UnlicenseUnlicense

mattprice's dotfiles

This repository contains my macOS and WSL configurations, powered by Dotbot and years of procrastination.

To install it, clone the repository and run: ./install.

macOS Post-Install

Hotkey to Select the Current Word

Pressing Cmd+D to select the current word is one of my favorite text editor features, and it's snuck into my muscle memory. You can set up a system-wide hotkey in ~/Library/Keybindings/DefaultKeyBinding.dict that does the same, but unfortunately, macOS doesn't like that file to be a symlink:

{
  "@d" = (selectWord:);
}

Sudo With Touch ID

If you have a MacBook with Touch ID, you can enable sudo using your fingerprint by editing /etc/pam.d/sudo and adding the following line to the top:

auth       sufficient     pam_tid.so