On 10/9/06, Philip Ganchev <[EMAIL PROTECTED]> wrote:
> After correctly underlining a completed filename, Fish removes the
> underlining when the user types a space and some other character.  Is
> this intentional?
>
> I think the underlining should stay unless the filename is modified to
> a string that is not the name of a file.

Only the token under the cursor is tested. Inserting a space means
that you are no longer under the current cursor, you are between
tokens.

Motivations for doing only one token:

* Underlining all tokens that can be files would introduce seriously
clutter. The fish prompt already has a serious pink flamingo factor.

* Checking if all tokens could be files could be files would be very
slow in some cases, like if $PWD is on a remote file system.

>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Fish-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fish-users
>


-- 
Axel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to