Use man-db instead of default macos man program
This commit is contained in:
parent
e560c498b4
commit
d698e20eb0
@ -19,7 +19,8 @@
|
|||||||
display-buffer-alist '((".*"
|
display-buffer-alist '((".*"
|
||||||
(display-buffer-reuse-window display-buffer-same-window)
|
(display-buffer-reuse-window display-buffer-same-window)
|
||||||
(reusable-frames . t)))
|
(reusable-frames . t)))
|
||||||
even-window-sizes nil)
|
even-window-sizes nil
|
||||||
|
manual-program "gman")
|
||||||
(setq-default indent-tabs-mode nil)
|
(setq-default indent-tabs-mode nil)
|
||||||
|
|
||||||
;; Always display line numbers in text/programming modes
|
;; Always display line numbers in text/programming modes
|
||||||
|
@ -18,6 +18,7 @@ brew "jdtls"
|
|||||||
brew "jq"
|
brew "jq"
|
||||||
brew "kubectx"
|
brew "kubectx"
|
||||||
brew "llvm"
|
brew "llvm"
|
||||||
|
brew "man-db"
|
||||||
brew "maven"
|
brew "maven"
|
||||||
brew "metals"
|
brew "metals"
|
||||||
brew "msmtp"
|
brew "msmtp"
|
||||||
|
14
launchd/Library/LaunchAgents/mandb.plist
Normal file
14
launchd/Library/LaunchAgents/mandb.plist
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Applice//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>Label</key>
|
||||||
|
<string>local.jdormit.mandb</string>
|
||||||
|
<key>ProgramArguments</key>
|
||||||
|
<array>
|
||||||
|
<string>/opt/homebrew/bin/mandb</string>
|
||||||
|
</array>
|
||||||
|
<key>StartInterval</key>
|
||||||
|
<integer>300</integer>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
@ -115,6 +115,10 @@ alias kns="kubens"
|
|||||||
alias kctx="kubectx"
|
alias kctx="kubectx"
|
||||||
alias tf="terraform"
|
alias tf="terraform"
|
||||||
|
|
||||||
|
if type gman &>/dev/null; then
|
||||||
|
alias man="gman"
|
||||||
|
fi
|
||||||
|
|
||||||
# zsh-completions homebrew package
|
# zsh-completions homebrew package
|
||||||
if type brew &>/dev/null; then
|
if type brew &>/dev/null; then
|
||||||
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH
|
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH
|
||||||
|
Loading…
Reference in New Issue
Block a user