I generally set environment variables like EDITOR, BROWSER, and SSH_AGENT* using fish's "universal variable server," pretty much like putting it in your .bashrc but with two benefits:
- Fred.
Hi there,
environemt variables are set via `set' in fish. Try
help set
and
set -x LESS '-R'
for example.
Cheers,
--Torsten
In Bash, it is done by
export LESSOPEN="| /usr/share/source-highlight/src-hilite-lesspipe.sh (http://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
https://lists.sourceforge.net/lists/listinfo/fish-users
--
| Torsten "Teggy" Grust
------------------------------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/fish-users