2020-12-18 02:29:55 +00:00
|
|
|
function git-show-fuzzy
|
2021-05-04 15:38:00 +00:00
|
|
|
set commitline (git log \
|
|
|
|
--pretty="format:%C(auto)%ar %h%d %s" \
|
|
|
|
| fzf \
|
|
|
|
)
|
|
|
|
and set commit (echo $commitline | cut -d" " -f4 )
|
2020-12-18 02:29:55 +00:00
|
|
|
and git show $commit
|
|
|
|
end
|