mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-26 07:04:52 +00:00
9 lines
209 B
Fish
9 lines
209 B
Fish
function git-show-fuzzy
|
|
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
|
|
end
|