dotfiles/fish/.config/fish/functions/ffr.fish

3 lines
139 B
Fish

function ffr --description 'Git restore a file using fzf'
git restore $argv -- (git ls-files --modified --exclude-standard | fzf -m)
end