dotfiles/fish.configlink/functions/commandline-git-commits.fish
2021-05-04 11:38:00 -04:00

11 lines
188 B
Fish

#!/usr/local/bin/fish
function commandline-git-commits
set commit (git-commits)
if [ $commit ]
commandline -i "$commit"
else
commandline -i "HEAD"
end
end