浏览代码

Use lesspipe.sh to handle pdf files in less

Frans Bergman 6 年之前
父节点
当前提交
e7709599dc
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .zshrc

+ 1 - 0
.zshrc

@@ -102,6 +102,7 @@ alias ccat="highlight --out-format=ansi"
 
 export MAKEFLAGS="-j$(nproc)"
 export EDITOR="vim"
+LESSOPEN="|lesspipe.sh %s"; export LESSOPEN
 
 bindkey -v
 bindkey '^r' history-incremental-search-backward