On 12/14/05, Axel Liljencrantz <[EMAIL PROTECTED]> wrote: > On Wed, December 14, 2005 4:19 am, Philip Ganchev wrote: > > On 12/13/05, Axel Liljencrantz <[EMAIL PROTECTED]> wrote: > >> On Tue, 13 Dec 2005, Harshad RJ wrote: > >> > On Tuesday 13 Dec 2005 7:26 pm, Axel Liljencrantz wrote: > >> > > >> > > > 1. An RPROMPT (as in Zsh). > > [...] > >> > 1. User input starts at the left and grows towards the right. Hence it > >> makes > >> > more sense to have a right-aligned prompt than a left-aligned one. > >> > Especially, if the variable-length components of the prompt are > >> displayed on > >> > the right, then all user commands get neatly aligned on the left. I > >> have > >> > grown so used to this now, that I actually feel disoriented when using > >> some > >> > other shell than Zsh. > >> [...] > I think that Harshads arguments about aligned commands, and a prompt that > folds up on large lines have some merit.
I am actually used to a variable-width prompt, and think it has merit. It gives me a visual indication of how deep I am in the directory hierarchy. Still, I like the maximum width that Fish has. > On the other hand, I also think > that grouping things together closely increases readability. On a wide > screen the prompt will be so far away from the cursor that it won't be > effective as a 'command separator'. Yes, I think it would be better to have the information in one place. > I don't know which one is better, but > the ideal would be to come up with a prompt that combines the best aspects > of both. RPROMPT's space-saving benefit can be ported to a left-aligned prompt. When the command grows too long to fit, the prompt scrolls out of view, similar to the way the RPROMPT is overwritten. But this may make it hard to read past commands, since the contextual information contained in the prompt would be lost. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
