瀏覽代碼

zsh: fix manpager

raylu 2 年之前
父節點
當前提交
0363ed2a17
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      zshrc

+ 1 - 1
zshrc

@@ -70,7 +70,7 @@ zle -N self-insert url-quote-magic
 source $HOME/.zsh_paste
 
 export EDITOR=vi
-export MANPAGER="/bin/sh -c \"col -bx | vim -c 'set ft=man' -\""
+export MANPAGER='vim -M +MANPAGER -'
 export GREP_COLORS='ms=01;36:mc=01;31:sl=:cx=:fn=35:ln=33:bn=33:se=01;34'
 
 alias ls='ls --color=auto -hv --group-directories-first'