On Thu, 19 Sep 2013, Martin Bähr wrote:
> On Wed, Sep 18, 2013 at 12:15:59PM -0700, ridiculous_fish wrote:
> > > one minor issue i still have is that in the above $COLUMNS appears to be
> > > evaluated only once. i'd like it to be reevaluated every time.
> > > 
> > > is there a way to do that?
> > Try using 'tput cols' to get the terminal width instead.
> 
> oh, nice, that works, thanks!
> 
> btw: $LINES is broken, it has the columns value.
> (built from http://fishshell.com/files/2.0.0/fish-2.0.0.tar.gz )

Yes, that got picked up in 
https://github.com/fish-shell/fish-shell/pull/745 and fixed as 9f0775c. 
You can try a development build, or use `tput lines` to work around it.

David Adam
zanc...@ucc.gu.uwa.edu.au
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to