.dotfiles/.config/fish/functions/glp.fish
2024-10-21 20:46:27 +03:00

5 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=//')"