mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
feat(fish): add starship prompt, asdf version manager and Neovim as default editor
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
# This file contains fish universal variable definitions.
|
||||
# VERSION: 3.0
|
||||
SETUVAR EDITOR:nvim
|
||||
SETUVAR __fish_initialized:3400
|
||||
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
||||
SETUVAR fish_color_cancel:\x2dr
|
||||
|
||||
Reference in New Issue
Block a user