mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-25 09:05:36 +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
|