.dotfiles/.config/fish/functions/glp.fish

6 lines
197 B
Fish
Raw Normal View History

2024-10-21 20:46:27 +03:00
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=//')"