Fork me on GitHub
#vim
<
2020-08-28
>
orestis06:08:41

I added vim-fugitive and it was super slow — like, 2-3 seconds delay to do any command. Turns out it spawns the “shell” to get anything done, so my fish shell which takes a couple of seconds to start because of having asdf around — was slowing things down.

orestis06:08:08

After adding:

# Anything beyond this point is not executed when fish isn't run interactively, 
# such as via `fish -c '...'`
if not status --is-interactive
    exit
end
To my fish.config, everything is snappy again 🙂

dominicm07:08:43

Yeah, there's a few programs which shell out. I can't believe how slow your fish is.

Olical08:08:50

My fish was that slow on OSX (for the short amount of time I was forced to use it), totally fine on every Linux machine. Also every program (like nvim) took ~1+ seconds to open due to some new OSX security thing at the time?

orestis13:08:07

I traced the fish slowness to the asdf package manager.