Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am moverest on github.
  • I am moverest (https://keybase.io/moverest) on keybase.
  • I have a public key whose fingerprint is 9729 9ECA 5661 3535 4847 9A4A 0341 DDDE DC16 E699

To claim this, I am signing this object:

#...
complete -c git -n '__fish_git_needs_command' -a shortlog -d 'Show commit shortlog'
complete -c git -n '__fish_git_using_command log' -l follow -d 'Continue listing file history beyond renames'
complete -c git -n '__fish_git_using_command log' -l no-decorate -d 'Don\'t print ref names'
complete -f -c git -n '__fish_git_using_command log' -l decorate -a 'short\tHide\ prefixes full\tShow\ full\ ref\ names auto\tHide\ prefixes\ if\ printed\ to\ terminal no\tDon\\\'t\ display\ ref' -d 'Print out ref names'
complete -c git -n '__fish_git_using_command log' -l source -d 'Print ref name by which each commit was reached'
complete -c git -n '__fish_git_using_command log' -l use-mailmap
complete -c git -n '__fish_git_using_command log' -l full-diff
complete -c git -n '__fish_git_using_command log' -l log-size
function get_packages
pacman -Qq
end
function get_exec_from_package --argument-names pkg
set -l lines (pacman -Ql $pkg | string match -r "/usr/bin/(.+)|/usr/sbin/(.+)")
while set -q lines[2]
echo $lines[2]
set -e lines[1..2]
end