dotfiles/modules/common/shell/fish/functions/git-show-fuzzy.fish

7 lines
157 B
Fish
Raw Permalink Normal View History

2022-04-30 14:21:43 +00:00
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