Hi David
I want to set the title of my terminal
tab, not output to stdout. I think the
problem is that fish doesn't interpret
the -e option the same way bash does.
Thanks
On 12/01/2011 21:50, David Frascone wrote:
From
http://fishshell.com/user_doc/index.html
function fish_title
echo "foo"
end
or, if you wanted to make it more
dynamic, you could do something like this:
function fish_title
echo $my_title
end
Then just set $my_title in your script:
set my_title Foo
-Dave
On Wed, Jan 12, 2011 at 2:14 AM,
i...@whywouldwe.com
<mailto:i...@whywouldwe.com>
<i...@whywouldwe.com
<mailto:i...@whywouldwe.com>> wrote:
Using bash this puts 'Foo' as the
title
of the current terminal tab in OS X
echo -n -e "\033]0;Foo\007"
but it doesn't work with fish ('-e
\033]0;Foo\007' gets output instead),
anyone know why or how to achieve
this?
Thanks
------------------------------------------------------------------------------
Protect Your Site and Customers
from Malware Attacks
Learn about various malware
tactics and how to avoid them.
Understand
malware threats, the impact they
can have on your business, and how you
can protect your company and
customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
<mailto:Fish-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/fish-users
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users