dotfiles/fish/.config/fish/functions/fcf.fish

4 lines
171 B
Fish
Raw Normal View History

function fcf --description 'Git commit fixup using fzf'
2022-04-12 14:11:50 +02:00
git commit --fixup (git log --pretty=oneline --abbrev-commit --color=always | fzf --ansi | cut -d ' ' -f1)
end