dotfiles/fish.configlink/functions/commandline-git-commits.fish

11 lines
188 B
Fish
Raw Permalink Normal View History

2021-05-04 15:38:00 +00:00
#!/usr/local/bin/fish
function commandline-git-commits
set commit (git-commits)
if [ $commit ]
commandline -i "$commit"
else
commandline -i "HEAD"
end
end