On Wed, Jun 23, 2010 at 10:22, Stephen Morton <[email protected]>wrote:

> In fish, this quoting style isn't there, and I'm not quite clear on what it
> does in bash, so I'm having a difficult time replicating the effect. The
> closest I could figure was not doing any quotes and just escaping all the
> funny characters:
>
> Sounds good; bash's $'...' style interprets \-escapes, which is what fish
does without quotes.


> set -U LESS_TERMCAP_us \e\[1\x3B32m
> set -U LESS_TERMCAP_md \e\[1\x3B31m
>
> I can see these entries in the output of set with no arguments, but when
> use less there's no effect.
>

Does anyone have any ideas?
>
> You're not exporting them.  Try:
set -U LESS_TERMCAP_us \e\[1\x3B32m
set -U LESS_TERMCAP_md \e\[1\x3B31m
(it's a good idea to ``set -e`` them first, so that you don't mix several
variables of different scopes, that's very confusing)

-- 
Beni Cherniavsky-Paskin <[email protected]>
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to