dotfiles/modules/shell/fish/functions/git-show-fuzzy.fish
2022-05-06 09:44:21 -04:00

7 lines
157 B
Fish

set commitline (git log \
--pretty="format:%C(auto)%ar %h%d %s" \
| fzf \
)
and set commit (echo $commitline | cut -d" " -f4 )
and git show $commit