Perhaps my function is getting called, but fish becomes convinced that my
prompt won't fit and so it just outputs "> ". I'm trying to manage that by
outputting a multi-line prompt where each line I output does fit, but I
suspect fish thinks I'm trying to output everything on a single line. Is
there another approach I can take to creating a multi-line prompt?

On Sat, Sep 30, 2017 at 2:33 PM, Mark Volkmann <r.mark.volkm...@gmail.com>
wrote:

> I have defined a custom fish prompt that works great most of the time. I
> have verified that it works when $COLUMNS is >= 57 or $COLUMNS is between
> 20 and 47. However, my fish_prompt function doesn't even get called if
> $COLUMNS is 52. Any idea what could cause that?
>
> My code is at https://github.com/mvolkmann/MyUnixEnv/blob/
> master/.config/fish/functions/fish_prompt.fish.
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
>



-- 
R. Mark Volkmann
Object Computing, Inc.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to