mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-26 19:54:53 +00:00
11 lines
188 B
Fish
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
|