Commit Graph

6 Commits

Author SHA1 Message Date
Danyil Bohdan b15918d414 "fishy" theme: Fix "~" use in prompt
Actually replace the value of the environment variable $HOME with
"~" instead of appending the tilde in front of the prompt.
2015-12-14 13:38:28 +02:00
Danyil Bohdan 2e3731c5b1 "fishy" theme: Shorten path .foo to .f, not .
When the current path is /home/user/.config/doublecmd the prompt
now reads "/h/u/.c/doublecmd", not "/h/u/./doublecmd" as was the
case. This matches what the Fish shell does.

Enclose the Perl snippet in single quotes instead of double quotes.
2015-12-04 20:19:15 +02:00
Danyil Bohdan 2d2aa64167 Implemented UTF-8 support in fishy.zsh-theme. 2013-04-12 18:19:09 +03:00
Nicholas Hutchinson 2643ac975b Update fishy theme to collapse working directory in PROMPT.
For non-trailing path components, we show only the first character. So, as in Fish proper, we convert ~/some/really/really/really/long/path/name to ~/s/r/r/r/l/p/name.
2012-09-02 10:38:08 +12:00
Suraj N. Kurapati 21276546e9 fishy theme: text indicators for $? and git status
The git status indicators were taken from sorin.zsh-theme and changed to
use ASCII symbols instead of Unicode ones because my preferred terminal
font, DejaVu Sans Mono, renders Unicode symbols poorly and also because
Unicode rendering is not available in standard Linux virtual terminals.
2011-05-25 17:18:45 -07:00
Suraj N. Kurapati 943e09cd84 add "fishy" theme to emulate Fish shell's prompt 2010-12-28 20:36:29 -08:00