"Axel Liljencrantz"
<[EMAIL PROTECTED]> writes:

Hi Axel,

>> I tried to monitor the processes (grep, apropos, awk) with htop, and
>> they change PIDs about 18 times. So /usr/share/man/whatis is grepped
>> at least 18 times -- no wonder that it takes that long.
>
> Ha! Very interesting. I can reproduce this behaviour. It is obviously
> wrong.

Does it happen on all systems or is it a special setup which triggers
it?

> This should take down the completion time to a still completely
> unacceptable 5 seconds on your system.

;-)

> The only way to work around this in a good way is to abort the
> description lookup if it takes too much time. Probably something like
> 0.5 seconds.

That would be very strict. I think 1 or 2 seconds would be acceptable if
one had a keybinding for completion without descriptions.

> For now, you can work around this bug using the following commands:
>
> function __fish_describe_command
> end
> save_function __fish_describe_command

Ah, what a boon!

Regards,
Tassilo
-- 
A child of five could understand this! Fetch me a child of five!


-------------------------------------------------------------------------
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