瀏覽代碼

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