mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-27 00:45:37 +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
|