Fabian Boehm

Results 471 comments of Fabian Boehm

>I'm following (I believe). I don't think you follow. What I mean is this: Our pager currently figures out how much of the prefix and the rest of the candidate...

>I'm happy with leaving the ellipsis prefix, but I figured that you'd still want some of the prefix for the currently completed result? I'm simply saying to find *some* shortening...

>One thing to satisfy us both and comply with your philosophy would be an additional color variable like fish_pager_color_prefix_path Tbh... shortening seems like the better idea here. Having a second...

>Also, how would you feel about another symbol than ellipses? We currently use ellipses here and I don't see a good reason to change it. They are a good symbol...

>And if some people (but not all) really don't agree with that, are we certain we don't want this to be configurable? Yes. This is not an option that people...

>OK that doesn't look so good (it's a rough sketch) but I think it's worth exploring. Maybe prefix-len = max(1, 10 - n). Really, what we want is to avoid...

Soo... let's get back to business. I've implemented this now, in [my funcdesc branch](https://github.com/faho/fish-shell/tree/funcdesc). What that does is: - Fix function description completion (turns out this currently only gets the...

>I don't think you can read just the first line of the file; that's not guaranteed to have the function of interest in it! @zanchey: Sure, yeah. But you could...

One thing that causes a slowdown here is that `read` will `read()` one byte at a time in this case - the chunked read implementation needs `lseek()` to put stuff...

>Another option is for while read to be a new, single builtin, which is an evil hack but much cleaner... I don't think that'll fly - currently, stdin remains attached...