dotfiles/fish/.config/fish/functions/ffa.fish

3 lines
167 B
Fish

function ffa --description 'Git add files using fzf'
git add -- (git ls-files --modified --others --exclude-standard | fzf -m --preview 'bat --color=always {}')
end