mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
11 lines
828 B
Fish
11 lines
828 B
Fish
complete -c pactree -xa "(pacman -Sl | string replace -r '(\S+) *(\S+) *(.*)' '$2\t$3')"
|
|
complete -c pactree -s b -l dbpath -d 'Set an alternate database location' -xa '(__fish_complete_directories)'
|
|
complete -c pactree -s c -l color -d 'Colorize output'
|
|
complete -c pactree -s d -l depth -d 'Limit the depth of recursion' -x
|
|
complete -c pactree -s g -l graph -d 'Generate output for graphviz\'s dot'
|
|
complete -c pactree -s h -l help -d 'Display this help message'
|
|
complete -c pactree -s l -l linear -d 'Enable linear output'
|
|
complete -c pactree -s r -l reverse -d 'Show reverse dependencies'
|
|
complete -c pactree -s s -l sync -d 'Search sync DBs instead of local'
|
|
complete -c pactree -s u -l unique -d 'Show dependencies with no duplicates (implies -l)'
|
|
complete -c pactree -l config -d 'Set an alternate configuration file' -r
|