- 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