3 ms·
> So if you have set your login shell to fish, then every time you launch a shell it loads all the fish plugins like this one, and that slows it down Fish comp
by pxc 5y ago
> So if you have set your login shell to fish, then every time you launch a shell it loads all the fish plugins like this one, and that slows it down
Fish completions and functions are lazy-loaded, so this doesn't happen unless you write your config to force it to happen.
Fish also provides you with functions you can use to check whether a shell instance is a login shell, is interactive, or is just being invoked as (part of a) script. If you do have some heavy-duty stuff you want to run on startup for your login shell or your interactive shells, you can do that selectively and keep Fish startup for other purposes fast.