mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 01:05:38 +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
|