Workarounds
MacOS
MacOS-specific fixes:
- UK Keyboard Hash Symbol: The
#character is typed withOpt+3on UK keyboards, which conflicts with Doom's workspace shortcuts. Re-bind this in insert mode only. - Man-mode: BSD
seddoesn't work withMan-mode; use GNUgsedfrom Homebrew. - Eshell bash-completion: MacOS ships an outdated
bash, so pointbash-completionat Homebrew's version instead. The path doesn't exist on Linux, so it's guarded here rather than inmodules/shell.org.
(when (featurep :system 'macos) (map! :i "M-3" #'(lambda () (interactive) (insert "#"))) (setq Man-sed-command "gsed") (after! bash-completion (setq bash-completion-prog "/opt/homebrew/bin/bash")))