In Bash, it is done by

export LESSOPEN="| /usr/share/source-highlight/src-hilite-lesspipe.sh %s"

export LESS=' -R '

see http://linux-tips.org/article/78/syntax-highlighting-in-less

How to do that in fish?
I set the two variables with those values in fish but it does not have
the desired result.

Thanks in advance.

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to