mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-14 04:52:56 +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
|