Added fish + foot configs to desktop
This commit is contained in:
31
machines/desktop/config/fish/config.fish
Normal file
31
machines/desktop/config/fish/config.fish
Normal 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
|
||||
Reference in New Issue
Block a user