Sanchayan Maity
0d0480a6b2
Using alias inside ~/.config/fish/config.fish can slow down shell start as each alias/function will be eagerly loaded. alias is slow because it involves eval. functions support lazy/auto loading. https://fishshell.com/docs/current/tutorial.html#autoloading-functions
3 lines
193 B
Fish
3 lines
193 B
Fish
function vdm --wraps='nvim (git diff master --name-only --diff-filter=ACMR)' --description 'Edit files changed since master'
|
|
nvim (git diff master --name-only --diff-filter=ACMR) $argv;
|
|
end
|