diff --git a/emacs/.emacs.d/config/init-defaults.el b/emacs/.emacs.d/config/init-defaults.el index 5cc09e3..e5437d0 100644 --- a/emacs/.emacs.d/config/init-defaults.el +++ b/emacs/.emacs.d/config/init-defaults.el @@ -19,7 +19,8 @@ display-buffer-alist '((".*" (display-buffer-reuse-window display-buffer-same-window) (reusable-frames . t))) - even-window-sizes nil) + even-window-sizes nil + manual-program "gman") (setq-default indent-tabs-mode nil) ;; Always display line numbers in text/programming modes diff --git a/homebrew/Brewfile b/homebrew/Brewfile index 9dde8ba..4ee4859 100644 --- a/homebrew/Brewfile +++ b/homebrew/Brewfile @@ -18,6 +18,7 @@ brew "jdtls" brew "jq" brew "kubectx" brew "llvm" +brew "man-db" brew "maven" brew "metals" brew "msmtp" diff --git a/launchd/Library/LaunchAgents/mandb.plist b/launchd/Library/LaunchAgents/mandb.plist new file mode 100644 index 0000000..62b5167 --- /dev/null +++ b/launchd/Library/LaunchAgents/mandb.plist @@ -0,0 +1,14 @@ + + + + + Label + local.jdormit.mandb + ProgramArguments + + /opt/homebrew/bin/mandb + + StartInterval + 300 + + diff --git a/zsh/.zshrc b/zsh/.zshrc index 923264d..0372be2 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -115,6 +115,10 @@ alias kns="kubens" alias kctx="kubectx" alias tf="terraform" +if type gman &>/dev/null; then + alias man="gman" +fi + # zsh-completions homebrew package if type brew &>/dev/null; then FPATH=$(brew --prefix)/share/zsh-completions:$FPATH