dotfiles/modules/common/shell/fish/functions/commandline-git-commits.fish
2023-02-20 20:37:37 -05:00

7 lines
102 B
Fish

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