2010/12/6 Igor 'Lo' (И.L.) <bombsiteunres...@gmail.com> > > function fish_prompt -d 'Write out the prompt' > printf '┌��...@%s%s%s%s\n\n└─▪ lol> ' (whoami) (hostname|cut -d . -f 1) > (set_color $fish_color_cwd) (prompt_pwd) (set_color normal) > end > > It didn't worked - prompt is displayed with unicode characters, but - > only a single line. > > Gentoo, > [I] app-shells/fish > Installed versions: 1.23.1-r1(09:33:11 AM 12/02/2010)(X -vanilla) > > cheers, > Igor > > Your example function works fine for me. But you'll need to build from one of the more recent source repositories.
I'm using the version over at gitorious ( http://gitorious.org/fish-shell/fish-shell). Multi-line prompt support was added in this patch ( http://gitorious.org/fish-shell/fish-shell/commit/1157e4d7b256113c292df0605534d269642eef83 ). Unfortunately you might need to stitch together some build instructions, with the website down and all... This list is good if you run into trouble though. Cheers, Chris.
------------------------------------------------------------------------------ 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users