Another dotfiles repo.
Meta: lint this file via docker run --rm -v $PWD:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest "*.md" --fix
TODO: automate where sensible 🤖
- Essential Pragmata Pro
- IBM Plex Sans
- iA Writer Mono & Quattro
- Source Code Pro
- Sauce Code variant preferred for Starship
brew tap homebrew/cask-fonts && brew install font-sauce-code-pro-nerd-font
- Assign font in iTerm and IntelliJ
for plugin in ~/Library/QuickLook/*qlgenerator; do
echo enabling $plugin;
xattr -d -r com.apple.quarantine ${plugin}
done
qlmanage -r
- Mac Mouse Fix (github)
- Best for non-Apple mice, like MX Master 3.
- Enable Smooth Scrolling
- UninstallPKG.app to be able to remove cruft from installers using .pkg and admin privs.
- TimeMachineEditor to schedule TM backups overnight.
- GMailinator - GMail shortcuts for Mail.app (requires Xcode)
# Finder: show all hidden files
defaults write com.apple.Finder AppleShowAllFiles true
killall Finder
## Make cmd-tab app switcher appear on all monitors:
defaults write com.apple.Dock appswitcher-all-displays -bool true
killall Dock
# Screenshots to save to ~/Desktop/Screenshots
defaults write com.apple.screencapture location ~/Desktop/Screenshots
In iTerm2 have to ⌘ + ←Delete (⌘ + backspace) to send hex codes 0x18 0x7f
. Then ensure bindkey ... backward-kill-line
is in .zshrc
.
Enable TouchID Auth for sudo
commands in iTerm2 (source)
- Add
auth sufficient pam_tid.so
to the top of/etc/pam.d/sudo
- Go to iTerm2 Preferences (⌘,). In Advanced(⚙) Tab, search for "Allow sessions to survive logging out and back in." and set the value to No.
- Restart iTerm2 (maybe?)
Launch Rectangle, open the Preferences pane, and import the prefs file (Rectangle.json
)
Disable autoplay of YouTube Channel Trailers
- go to
about:config
media.autoplay.default = 5
media.autoplay.blocking_policy = 2
Enable in new Firefox:
- Open about:config.
- Set toolkit.legacyUserProfileCustomizations.stylesheets to
true
. - Open about:support and search for "Profile Folder". Copy the path.
- Quit Firefox and symlink the
chrome
folder:ln -s $HOME/src/dotfiles/Firefox/chrome "$HOME/Library/Application Support/Firefox/Profiles/u6rri5xi.default-release/"
- Start Firefox.
From 1Password, copy memex_id_ed25519
and id_ed25519
to ~/.ssh/
.
chmod 0600 ~/.ssh/*id*
BZG provides:
- Unite for WebKit-based SSB
- Coherence X
Website explaining launchd, LaunchAgents, and LaunchDaemons: https://www.launchd.info
LaunchControl is a fully-featured launchd GUI allowing you to create, manage and debug system- and user services on your Mac