It's called "powerline" style, named after a Vim plugin. For more on how
the effect is accomplished, read the guts of some of the oh-my-fish themes
that use it:
https://github.com/bpinto/oh-my-fish/tree/master/themes/bobthefish
https://github.com/bpinto/oh-my-fish/tree/master/themes/agnoster
Or just save yourself the hassle and use one of those themes directly. I'm
partial to the first :)
--justin
ᐧ
On Mon, Apr 14, 2014 at 10:30 AM, ridiculous_fish <
corydo...@ridiculousfish.com> wrote:
> Hi Maxim,
>
> This is a string ‘ ~ ‘ with a background color, followed by a special
> Unicode character:
>
> function fish_prompt
> set_color black --background blue
> echo -n " $PWD "
> set_color blue --background normal
> echo -n \U2B80
> end
>
> However that character is not a normal Unicode glyph, and so requires a
> special patched font https://gist.github.com/qrush/1595572
>
> Hope that helps,
> _fish
>
>
> On Apr 13, 2014, at 12:17 PM, Maxim Jankov <goler...@gmail.com> wrote:
>
> > I've seen a screenshot of zsh configured to have prompt with a
> > different color and background, and it looks like a very usable tweak:
> >
> > http://i.stack.imgur.com/DUqIh.png
> >
> > How can I set up something like that?
> >
> > (Sorry if that's not an appropriate place for this kind of questions).
> >
> > --
> >
> > Best regards,
> >
> > Max Yankov
> >
> > Phone: +7 903 155-75-14
> > Email: goler...@gmail.com
> > Skype: golergka
> >
> >
> ------------------------------------------------------------------------------
> > Learn Graph Databases - Download FREE O'Reilly Book
> > "Graph Databases" is the definitive new guide to graph databases and
> their
> > applications. Written by three acclaimed leaders in the field,
> > this first edition is now available. Download your free book today!
> > http://p.sf.net/sfu/NeoTech
> > _______________________________________________
> > Fish-users mailing list
> > Fish-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/fish-users
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
--
http://justinhileman.com
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users