raphael rsc | 3 Jan 19:38 2011
Picon

From zsh to fish (prompt question)

Hi,

I'm considering switching to fish, though i need to keep my prompts.
Has anyone a small script or an easy way to transform a zsh prompt
into a fish prompt ? (mine are quite complicated with new lines and so
on)

thanks

raphael

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
Guido van Steen | 9 Jan 00:59 2011
Picon

http://sourceforge.net/projects/fizsh/

Dear Fish users, 

About 18 months ago I mailed this list that I would like Fish even more, if it 
only allowed me to use Bourne syntax 
(https://sourceforge.net/mailarchive/message.php?msg_id=23248513). 

This led me to a feature request at the Bash mailing list, but noone there even 
cared to reply. I finally made a switch to ZSH, where I was given with a 
Fish-like "history search". I have come to like ZSH very much. Yet, until 
recently I kept on missing Fish's interactive syntax highlighting. 

A few month ago, however, some ZSH users (Julien Nicoulaud and others) started 
to implement this feature in ZSH. Development takes place at github: 
https://github.com/nicoulaj/zsh-syntax-highlighting. It works very well! 

I have combined Julien's syntax highlighting code with an improved version of 
the code that I use to perform a "Fish-like" history search. I further added 
some scripts that take care of installing the files at the right place. The 
project is called Fizsh, meaning Friendly Interactive ZSHell. It is a frontend 
to ZSH. Its purpose is to provide users with an easy looking (Fish-like) 
environment, in which they can still execute Bourne-syntax snippets. This will 
hopefully be useful to users relatively new to ZSH, but it may also be of 
interest to Fish users who, like me, love the Fish user interface, but who want 
to be able to execute Bourne-syntax code at the same time. 

The Fizsh project is available at http://sourceforge.net/projects/fizsh/. You 
can find a tarball there, and a ".deb" archive. 

For future versions I will just check-out the latest version of Julien's syntax 
highlighting script. Fizsh's history-search-widget will have to be improved. 
(Continue reading)

Isaac Dupree | 9 Jan 01:32 2011

http://sourceforge.net/projects/fizsh/

I'm excited!  I will try it sometime.  I seem to recall that some years 
ago when I left ZSH for bash (before discovering fish), it was partly 
because ZSH was slower (interactive latency) or used more RAM per 
shell-instance.  I hope those don't become an issue for me again.

-Isaac

On 01/08/11 18:59, Guido van Steen wrote:
> Dear Fish users,
>
> About 18 months ago I mailed this list that I would like Fish even more, if it
> only allowed me to use Bourne syntax
> (https://sourceforge.net/mailarchive/message.php?msg_id=23248513).
>
>
> This led me to a feature request at the Bash mailing list, but noone there even
> cared to reply. I finally made a switch to ZSH, where I was given with a
> Fish-like "history search". I have come to like ZSH very much. Yet, until
> recently I kept on missing Fish's interactive syntax highlighting.
>
>
> A few month ago, however, some ZSH users (Julien Nicoulaud and others) started
> to implement this feature in ZSH. Development takes place at github:
> https://github.com/nicoulaj/zsh-syntax-highlighting. It works very well!
>
>
> I have combined Julien's syntax highlighting code with an improved version of
> the code that I use to perform a "Fish-like" history search. I further added
> some scripts that take care of installing the files at the right place. The
> project is called Fizsh, meaning Friendly Interactive ZSHell. It is a frontend
(Continue reading)

Guido van Steen | 9 Jan 02:05 2011
Picon

http://sourceforge.net/projects/fizsh/

Hi Isaac, 

Nice to hear from you! It was actually you and me, together with Benny 
Cherniavsky, who filed the feature request at bug-bash. 

I guess ZSH is still slower than Bash, but speed and RAM should be less 
important now than it was in the old days. 

Well, I don't know how fast you type... 

Best wishes, 

Guido 

----- Original Message ----
> From: Isaac Dupree <ml@...>
> To: Guido van Steen <gvsteen@...>
> Cc: fish-users@...
> Sent: Sunday, January 9, 2011 1:32:05
> Subject: Re: [Fish-users] Project: Friendly Interactive ZSHell available at 
>http://sourceforge.net/projects/fizsh/
> 
> I'm excited!  I will try it sometime.  I seem to recall that some  years 
> ago when I left ZSH for bash (before discovering fish), it was partly 
> because ZSH was slower (interactive latency) or used more RAM per 
> shell-instance.  I hope those don't become an issue for me  again.
> 
> -Isaac
> 
> On 01/08/11 18:59, Guido van Steen wrote:
(Continue reading)

Suraj Kurapati | 9 Jan 02:26 2011
Picon

http://sourceforge.net/projects/fizsh/

This is excellent news Guido!  I have also recently migrated from Fish
to ZSH in the same manner, using oh-my-zsh[1] with my contributed
"fishy" prompt[2] and the zsh-syntax-highlighting[3] plugin.  The only
thing I was dearly missing from the Fish shell was its ubiquitous
up-arrow history search; that's the main feature that made Fish so
productive for me.

I extracted the /etc/fizsh/fizsh-history-search-backward file from
your tarball into my ~/.oh-my-zsh/functions/ directory and then copied
the following initialization code into my ~/.zshrc:

  autoload -U fizsh-history-search-backward
  zle -N fizsh-history-search-forward fizsh-history-search-backward
  zle -N fizsh-history-search-backward

  bindkey '\e[A' fizsh-history-search-backward
  bindkey '\e[B' fizsh-history-search-forward

I must say that I'm very pleased with your search widget so far.  I'll
report any bugs I find.  Thanks for sharing all this and bringing the
very best of Fish to ZSH! :)

Cheers.

[1]: https://github.com/robbyrussell/oh-my-zsh
[2]: https://github.com/robbyrussell/oh-my-zsh/commit/943e09cd84baff55d36ebcfcf05b9fbfb4436a17
[2]: http://img839.imageshack.us/img839/629/fishyzshtheme.png
[3]: https://github.com/nicoulaj/zsh-syntax-highlighting/

------------------------------------------------------------------------------
(Continue reading)

Guido van Steen | 9 Jan 04:42 2011
Picon

http://sourceforge.net/projects/fizsh/

Hi Sanuka,

Fizsh also has a "fishy" prompt. I just checked out yours. It looks nice. I may use it in a future version. 

Cheers! 

Guido 

--- On Sun, 9/1/11, Suraj Kurapati <sunaku@...> wrote:

> From: Suraj Kurapati <sunaku@...>
> Subject: Re: [Fish-users] Project: Friendly Interactive ZSHell available at http://sourceforge.net/projects/fizsh/
> To: "Guido van Steen" <gvsteen@...>
> Cc: fish-users@...
> Date: Sunday, 9 January, 2011, 8:26 AM
> This is excellent news Guido!  I
> have also recently migrated from Fish
> to ZSH in the same manner, using oh-my-zsh[1] with my
> contributed
> "fishy" prompt[2] and the zsh-syntax-highlighting[3]
> plugin.  The only
> thing I was dearly missing from the Fish shell was its
> ubiquitous
> up-arrow history search; that's the main feature that made
> Fish so
> productive for me.
> 
> I extracted the /etc/fizsh/fizsh-history-search-backward
> file from
> your tarball into my ~/.oh-my-zsh/functions/ directory and
(Continue reading)

Martin Jernberg | 9 Jan 14:45 2011
Picon

http://sourceforge.net/projects/fizsh/

this sounds like a nice project :)

> Date: Sat, 8 Jan 2011 19:42:51 -0800
> From: gvsteen-/E1597aS9LQAvxtiuMwx3w@public.gmane.org
> To: sunaku <at> gmail.com
> CC: fish-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: Re: [Fish-users] Project: Friendly Interactive ZSHell available at http://sourceforge.net/projects/fizsh/
>
> Hi Sanuka,
>
> Fizsh also has a "fishy" prompt. I just checked out yours. It looks nice. I may use it in a future version.
>
> Cheers!
>
> Guido
>
>
> --- On Sun, 9/1/11, Suraj Kurapati <sunaku-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > From: Suraj Kurapati <sunaku-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> > Subject: Re: [Fish-users] Project: Friendly Interactive ZSHell available at http://sourceforge.net/projects/fizsh/
> > To: "Guido van Steen" <gvsteen-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
> > Cc: fish-users-5NWGOfrQmneHXe+LvDLADg@public.gmane.orgrceforge.net
> > Date: Sunday, 9 January, 2011, 8:26 AM
> > This is excellent news Guido!  I
> > have also recently migrated from Fish
> > to ZSH in the same manner, using oh-my-zsh[1] with my
> > contributed
> > "fishy" prompt[2] and the zsh-syntax-highlighting[3]
> > plugin.  The only
> > thing I was dearly missing from the Fish shell was its
> > ubiquitous
> > up-arrow history search; that's the main feature that made
> > Fish so
> > productive for me.
> >
> > I extracted the /etc/fizsh/fizsh-history-search-backward
> > file from
> > your tarball into my ~/.oh-my-zsh/functions/ directory and
> > then copied
> > the following initialization code into my ~/.zshrc:
> >
> >   autoload -U fizsh-history-search-backward
> >   zle -N fizsh-history-search-forward
> > fizsh-history-search-backward
> >   zle -N fizsh-history-search-backward
> >
> >   bindkey '\e[A' fizsh-history-search-backward
> >   bindkey '\e[B' fizsh-history-search-forward
> >
> > I must say that I'm very pleased with your search widget so
> > far.  I'll
> > report any bugs I find.  Thanks for sharing all this
> > and bringing the
> > very best of Fish to ZSH! :)
> >
> > Cheers.
> >
> > [1]: https://github.com/robbyrussell/oh-my-zsh
> > [2]: https://github.com/robbyrussell/oh-my-zsh/commit/943e09cd84baff55d36ebcfcf05b9fbfb4436a17
> > [2]: http://img839.imageshack.us/img839/629/fishyzshtheme.png
> > [3]: https://github.com/nicoulaj/zsh-syntax-highlighting/
> >
>
>
>
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of any company
> that requires sensitive data to be transmitted over the Web. Learn how to
> best implement a security strategy that keeps consumers' information secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Fish-users mailing list
> Fish-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/fish-users
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Fish-users mailing list
Fish-users@...
https://lists.sourceforge.net/lists/listinfo/fish-users
Suraj Kurapati | 10 Jan 19:40 2011
Picon

Re: From zsh to fish (prompt question)

On Mon, Jan 3, 2011 at 10:38 AM, raphael rsc <senbei@...> wrote:
> I'm considering switching to fish, though i need to keep my prompts.

Note that you can stay in ZSH and have a Fish-like user interface by
using Fizsh (Friendly Interactive ZSH):
http://sourceforge.net/projects/fizsh/

> Has anyone a small script or an easy way to transform a zsh prompt
> into a fish prompt ?

No, but here is how you can do the opposite (have a Fish prompt in ZSH):

https://github.com/robbyrussell/oh-my-zsh/blob/master/themes/fishy.zsh-theme

Cheers.

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
Suraj Kurapati | 10 Jan 20:00 2011
Picon

http://sourceforge.net/projects/fizsh/

On Sat, Jan 8, 2011 at 3:59 PM, Guido van Steen <gvsteen@...> wrote:
> I finally made a switch to ZSH, where I was given with a Fish-like "history search".

Would you mind if we moved the "fizsh-history-search-backward" file
from the fizsh project into a separate "zsh-history-substring-search"
repository (preferably on GitHub) so that it can be used independently
or as an oh-my-zsh plugin?  Also, under what license is Fizsh
released?

Thanks for your consideration.

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
raphael rsc | 10 Jan 22:05 2011
Picon

Re: From zsh to fish (prompt question)

well, i'd managed that part, though the last thread seems interesting
thanks for your help

On Mon, Jan 10, 2011 at 7:40 PM, Suraj Kurapati <sunaku@...> wrote:
> On Mon, Jan 3, 2011 at 10:38 AM, raphael rsc <senbei@...> wrote:
>> I'm considering switching to fish, though i need to keep my prompts.
>
> Note that you can stay in ZSH and have a Fish-like user interface by
> using Fizsh (Friendly Interactive ZSH):
> http://sourceforge.net/projects/fizsh/
>
>> Has anyone a small script or an easy way to transform a zsh prompt
>> into a fish prompt ?
>
> No, but here is how you can do the opposite (have a Fish prompt in ZSH):
>
> https://github.com/robbyrussell/oh-my-zsh/blob/master/themes/fishy.zsh-theme
>
> Cheers.
>

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 

Gmane