32 lines
486 B
Fish
32 lines
486 B
Fish
if status is-interactive
|
|
zoxide init fish | source
|
|
|
|
set -U fish_greeting
|
|
|
|
set -gx EDITOR nvim
|
|
set -gx VISUAL nvim
|
|
|
|
set -gx PAGER less
|
|
set -gx LESS "-R --mouse -F -X"
|
|
|
|
abbr -a v 'nvim'
|
|
abbr -a vi 'nvim'
|
|
abbr -a ll 'ls -lah'
|
|
abbr -a la 'ls -A'
|
|
abbr -a .. 'cd ..'
|
|
abbr -a ... 'cd ../..'
|
|
|
|
abbr -a cp 'cp -i'
|
|
abbr -a mv 'mv -i'
|
|
abbr -a rm 'rm -i'
|
|
|
|
if type -q fzf
|
|
fzf --fish | source
|
|
end
|
|
|
|
if type -q starship
|
|
starship init fish | source
|
|
end
|
|
|
|
end
|