Added fish + foot configs to desktop

This commit is contained in:
2026-02-14 20:11:36 +08:00
parent e0821c9ed2
commit 86495e561a
5 changed files with 739 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
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