$ git clone -q https://github.com/biox/pa.git $ cd pa/contrib $ ls -1 -p pa-bemenu pa-completion.bash pa-completion.fish pa-dmenu pa-fuzzel pa-pass pa-rekey pa-rofi pa-ssg pa-urn pa-wmenu $ nl -b a -s ' ' -w 3 pa-completion.fish
1 2 3 4 5 6 7
function __fish_complete_pa_name -d 'Complete pa password names' set -l cmd (commandline -opc) test (count $cmd) -eq 2; and string match -q -r '^[des]' $cmd[2] end complete -c pa -f complete -c pa -n "__fish_complete_pa_name" -a "(pa l)"