configured less syntax highlighting
This commit is contained in:
parent
89f366ae87
commit
d46c945d9a
1 changed files with 6 additions and 2 deletions
8
.zshrc
8
.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*'
|
||||
|
|
Reference in a new issue