Re: [Fish-users] Slow git completions / debugging completions

2017-06-11 Thread Andrew Schulman
> I've been using fish for about 6 months now after moving from zsh. > > Everything was going well, until recently git sub-command completions have > slowed down to to point of being unusable. Yeah. I haven't tried to debug this, but it was so slow that I just disabled git completions: touch

Re: [Fish-users] Slow git completions / debugging completions

2017-06-11 Thread Ben Leslie
Kurtis, thanks for the tip. That certainly helped shed some light on what is happening. For anyone with any insight on the specific problem, I ran: fish --profile /tmp/some_file -c 'complete -C"git add "' The profile confirmed that it took 5,152ms to run. Of that 4,885 was running: command git

Re: [Fish-users] Slow git completions / debugging completions

2017-06-11 Thread Kurtis Rader
Someone else recently asked about the speed of performing git completions. You might want to follow the discussion here: https://github.com/fish-shell/fish-shell/issues/4117 On Sun, Jun 11, 2017 at 5:06 AM, Ben Leslie wrote: > Hi all, > > I've been using fish for about 6

[Fish-users] Slow git completions / debugging completions

2017-06-11 Thread Ben Leslie
Hi all, I've been using fish for about 6 months now after moving from zsh. Everything was going well, until recently git sub-command completions have slowed down to to point of being unusable. Specifically: git is fast, and works as expected git add is very slow (and replace 'add' with