diff --git a/.zshrc b/.zshrc index 7dd7772..bc68a9b 100644 --- a/.zshrc +++ b/.zshrc @@ -108,13 +108,17 @@ source $ZSH/oh-my-zsh.sh # User configuration +if (( $+commands[src-hilite-lesspipe.sh] )); then + export PAGER="less" + export LESSOPEN="| src-hilite-lesspipe.sh %s" + export LESS=' -R ' +fi + # export MANPATH="/usr/local/man:$MANPATH" # You may need to manually set your language environment export LANG=en_US.UTF-8 - - # n³ settings export NNN_ARCHIVE="\\.(7z|a|ace|alz|arc|arj|bz|bz2|cab|cpio|deb|gz|jar|lha|lz|lzh|lzma|lzo|rar|rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z|zip)$" export NNN_PLUG='l:!lazygit*;d:!lazydocker*'