Remove and swap out some bash specific logic

This commit is contained in:
2018-08-08 13:39:47 +01:00
parent 13cc86f973
commit f8f7e822a9
4 changed files with 4 additions and 15 deletions

View File

@@ -5,7 +5,7 @@
alias le="less"
# Enable syntax highlighting via source-highlight
if command -v src-hilite-lesspipe.sh > /dev/null; then
if [ $commands[src-hilite-lesspipe.sh] ]; then
export LESSOPEN="| src-hilite-lesspipe.sh %s"
export LESS=" -R "
fi