Sanchayan Maity
e541b2d745
- 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
4 lines
96 B
Fish
4 lines
96 B
Fish
# If running from tty1 start sway
|
|
set --local TTY1 (tty)
|
|
[ "$TTY1" = "/dev/tty1" ] && exec sway
|