mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Major revamp of shell init - drop bash support, focus on zsh
This commit is contained in:
11
zsh/less.zsh
Normal file
11
zsh/less.zsh
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# less setup
|
||||
#
|
||||
|
||||
alias le="less"
|
||||
|
||||
# Enable syntax highlighting via source-highlight
|
||||
if command -v src-hilite-lesspipe.sh > /dev/null; then
|
||||
export LESSOPEN="| src-hilite-lesspipe.sh %s"
|
||||
export LESS=" -R "
|
||||
fi
|
||||
Reference in New Issue
Block a user