1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00

update fish config

This commit is contained in:
Henrik Hautakoski 2025-09-18 02:23:56 +02:00
parent 70cc0aa2e3
commit 9eaeadef40
9 changed files with 35 additions and 25 deletions

View file

@ -1,6 +1,6 @@
function tree
if test -f /usr/bin/eza
/usr/bin/eza -T $argv
if command -q eza
eza -T $argv
else
/bin/tree $argv
end

View file

@ -1,3 +1,10 @@
function vim --wraps=nvim --description 'alias vim nvim'
nvim $argv
if command -q nvim
nvim $argv
else if command -q vim
command vim $argv
else
echo "fish: unknown command: vim"
return 127
end
end