6 lines
197 B
Fish
6 lines
197 B
Fish
|
function glp -d "git log at requested pretty level" -a format
|
||
|
set -q format[1]; and git log --pretty=$format
|
||
|
end
|
||
|
|
||
|
complete -c glp -x -a "(complete -C 'git log --pretty=' | sed 's/^--pretty=//')"
|