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

4 lines
141 B
Fish

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