mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
update fish config
This commit is contained in:
parent
70cc0aa2e3
commit
9eaeadef40
9 changed files with 35 additions and 25 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue