From the twitter discussion with fnm author, shell inference seems to be
slow. Passing the shell to use manually seems to speed this up.
fnm env --log-level=quiet | source
Executed in 534.50 millis fish external
usr time 0.62 millis 620.00 micros 0.00 millis
sys time 4.76 millis 0.00 micros 4.76 millis
fnm env --shell=fish --log-level=quiet | source
Executed in 1.51 millis fish external
usr time 1.06 millis 0.00 micros 1.06 millis
sys time 0.58 millis 579.00 micros 0.00 millis
Also, see the github issue
https://github.com/Schniz/fnm/issues/621
We pick the same base 16 colors as in the default foot configuration
but with the background set to complete black viz #000000. Might want
to use this at a later date.
- Drop starship. This also helps us to get rid of ttf-font-nerd install
which is a dependency of starship.
- Source fnm env only once on login. This makes fish shell/terminal load
much much faster. Add an alias to invoke fnm use easily.
- Set path or environment variables only when required path or binary
exists.
- Introduce a function to profile fish easily.
- Borrow the fish prompt logic from Alexis King's configuration.
- Factor out key binding related settings.
- Make su launch fish.
Prompt and other ideas for clean up taken from
https://github.com/lexi-lambda/dotfiles/tree/master/fish
See :help nvim-defaults. The switchbuf setting was different than the
default though.
Drop cursorline settings as that doesn't make sense since we stopped
using relativenumber a while back.
To make sure symbols still get rendered properly, we need to install
the ttf-nerd-fonts-symbols package. Then make sure the below symlink
is present to make it work.
ln -s /usr/share/fontconfig/conf.avail/10-nerd-font-symbols.conf /etc/fonts/conf.d/10-nerd-font-symbols.conf
We do not use delta anymore (neovim for everything) and instead of xclip
we need wl-copy in Wayland.
While at it, also add support for scrolling the preview.