feat(fish): add starship prompt, asdf version manager and Neovim as default editor

This commit is contained in:
Stefan Imhoff
2022-12-27 12:19:19 +01:00
parent e771dac9fb
commit bdf6e669a1
2 changed files with 16 additions and 0 deletions

View File

@@ -1,3 +1,18 @@
if status is-interactive
# Commands to run in interactive sessions can go here
end
# Prompt
starship init fish | source
# asdf Version Manager
source /usr/local/opt/asdf/libexec/asdf.fish
# Neovim as default editor
set -U EDITOR nvim
alias v "vim"
if type nvim > /dev/null 2>&1
alias vim 'nvim'
end