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

7 lines
102 B
Fish

set commit (git-commits)
if [ $commit ]
commandline -i "$commit"
else
commandline -i HEAD
end