lincheney / fzf-tab-completion

Tab completion using fzf
GNU General Public License v3.0
652 stars 41 forks source link

`possible retry loop` with absolute path to command #80

Closed przepompownia closed 1 year ago

przepompownia commented 1 year ago

Hi,

please try to complete at the end of /usr/bin/tar, /usr/bin/nmcli etc.

I get

/usr/bin/nmcli: possible retry loop
/usr/bin/tar: possible retry loop
lincheney commented 1 year ago

Hello

Unfortunately I'm not able to reproduce this behaviour. When I try to tab complete /usr/bin/tar it simply adds a space at the end as expected. Are you able to provide some set -x debugging as before? To help identify where the issue is coming from.

przepompownia commented 1 year ago

/bin is a link to /usr/bin for me (see https://wiki.debian.org/UsrMerge).

Dump from asciinema due to big line amount: ``` [?2004h]0;test@del: ~test@del:~$ /usr/bin/tar  7Loading matches ...8/usr/bin/tar: possible retry loop ]0;test@del: ~test@del:~$ /usr/bin/tar [?2004l /usr/bin/tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options Try '/usr/bin/tar --help' or '/usr/bin/tar --usage' for more information. [?2004h]0;test@del: ~test@del:~$ set -x [?2004l [?2004h]0;test@del: ~test@del:~$ set -x/usr/bin/tar  ++ fzf_bash_completion ++ printf '\r' ++ command tput sc 7+++ _fzf_bash_completion_loading_msg +++ echo 'Loading matches ...' ++ printf %s 'Loading matches ...' Loading matches ...++ command tput rc 8++ local COMP_WORDS COMP_CWORD COMP_POINT COMP_LINE ++ local COMP_TYPE=37 ++ local 'line=/usr/bin/tar ' ++ readarray -t COMP_WORDS +++ _fzf_bash_completion_parse_line +++ _fzf_bash_completion_shell_split +++ builtin command grep -E -o -e '[;(){}&\|]' -e '\|+|&+' -e '(\\.|[^"'\''[:space:];(){}&\|])+' -e '\$'\''(\\.|[^'\''])*('\''|$)' -e ''\''[^'\'']*('\''|$)' -e '"(\\.|\$($|[^(])|[^"$])*("|$)' -e '".*' -e . +++ _fzf_bash_completion_parse_dq +++ _fzf_bash_completion_flatten_subshells +++ tr '\n' '\0' ++++ cat +++ local count=0 buffer= +++ tac +++ tr '\0' '\n' ++++ cat +++ IFS= +++ read -r line ++++ tac +++ local 'words=/usr/bin/tar ' +++ sed -r '# collapse newlines s/\x00\s*\x00/\x00/g; # leave trailing space s/\x00(\s*)$/\n\1/; # A & B -> (A, &, B) s/([^&\n\x00])&([^&\n\x00])/\1\n\&\n\2/g; # > B -> (>, B) s/([\n\x00\z])([<>]+)([^\n\x00])/\1\2\n\3/g; s/([<>][\n\x00])$/\1\n/; # clear up until the a keyword starting a new command # except the last line isn'\''t a keyword, it may be the start of a command s/^(.*[\x00\n])?(\[\[|case|do|done|elif|else|esac|fi|for|function|if|in|select|then|time|until|while|&|;|&&|\|[|&]?)\x00//; # remove ENVVAR=VALUE s/^(\s*[\n\x00]|\w+=[^\n\x00]*[\n\x00])*//' ++++ tail -n1 +++ local 'last= ' +++ [[ == \"* ]] +++ printf '%s\n' '/usr/bin/tar ' +++ case "$line" in +++ (( count < 0 )) +++ (( count > 0 )) +++ printf '%s\n' ' ' +++ buffer= +++ IFS= +++ read -r line +++ case "$line" in +++ (( count < 0 )) +++ (( count > 0 )) +++ printf '%s\n' /usr/bin/tar +++ buffer= +++ IFS= +++ read -r line +++ printf '%s\n' '' ++ [[ 1 = 0 ]] ++ [[ /usr/bin/tar =~ .*[[:space:]]$ ]] ++ COMP_WORDS+=('') ++ COMP_CWORD=2 ++ (( COMP_CWORD-- )) ++ [[ 2 -gt 1 ]] ++ _fzf_bash_completion_expand_alias /usr/bin/tar ++ alias /usr/bin/tar ++ COMP_LINE='/usr/bin/tar ' ++ COMP_POINT=13 ++ local cmd=/usr/bin/tar ++ local prev ++ '[' 1 = 0 ']' ++ prev=/usr/bin/tar ++ local cur= ++ local COMPREPLY= ++ fzf_bash_completer /usr/bin/tar '' /usr/bin/tar ++ local value code ++ local compl_bashdefault compl_default compl_dirnames compl_filenames compl_noquote compl_nosort compl_nospace compl_plusdirs +++ set -o pipefail +++ local __unquoted= +++ exec +++ local coproc_pid=54873 +++ count=0 +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] ++++ _fzf_bash_completion_selector /usr/bin/tar '' /usr/bin/tar +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ _fzf_bash_completion_unbuffered_awk '$0!="" && !x[$0]++' '$0 = "\x1b[37m" substr($0, 1, len) "\x1b[0m" sep substr($0, len+1)' -vlen=0 $'-vsep=\001' +++ gawk -W interactive -vlen=0 $'-vsep=\001' '$0!="" && !x[$0]++ { $0 = "\x1b[37m" substr($0, 1, len) "\x1b[0m" sep substr($0, len+1); print $0; system("") }' +++ compgen_actions=() +++ local compgen_actions +++ _fzf_bash_completion_auto_common_prefix '' +++ '[' '' = true ']' +++ cat ++++ _fzf_bash_completion_compspec /usr/bin/tar ++++ tr -d $'\001' +++++ __fzfcmd +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++++ echo fzf +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar ++++ FZF_DEFAULT_OPTS='--height 40% --reverse ' ++++ fzf -1 -0 --prompt '> /usr/bin/tar ' --nth 2 -d $'\001' --ansi +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ _fzf_bash_completion_get_results /usr/bin/tar '' /usr/bin/tar +++ [[ '' =~ .*\$(\{?)([A-Za-z0-9_]*)$ ]] +++ _fzf_bash_completion_complete /usr/bin/tar '' /usr/bin/tar +++ compgen_actions=() +++ local compgen_actions ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'compspec=complete -F _completion_loader -D' +++ eval 'compspec=( complete -F _completion_loader -D )' ++++ compspec=(complete -F _completion_loader -D) +++ set -- complete -F _completion_loader -D /usr/bin/tar '' /usr/bin/tar +++ shift +++ '[' 6 -gt 4 ']' +++ case "$1" in +++ local compl_function=_completion_loader +++ shift +++ shift +++ '[' 4 -gt 4 ']' +++ shift +++ COMPREPLY=() +++ '[' -n _completion_loader ']' +++ _completion_loader /usr/bin/tar '' /usr/bin/tar +++ local cmd=/usr/bin/tar +++ __load_completion /usr/bin/tar +++ dirs=('/home/test/.local/share/bash-completion/completions') +++ local -a dirs +++ local 'ifs= ' IFS=: dir cmd=tar compfile +++ [[ -n tar ]] +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share} +++ dirs+=($dir/bash-completion/completions) +++ IFS=' ' +++ [[ /usr/share/bash-completion/bash_completion == */* ]] +++ dirs+=("${BASH_SOURCE%/*}/completions") +++ local backslash= +++ [[ tar == \\* ]] +++ for dir in "${dirs[@]}" +++ [[ -d /home/test/.local/share/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share/gnome/bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/local/share//bash-completion/completions ]] +++ continue +++ for dir in "${dirs[@]}" +++ [[ -d /usr/share//bash-completion/completions ]] +++ for compfile in "$cmd" "$cmd.bash" "_$cmd" +++ compfile=/usr/share//bash-completion/completions/tar +++ [[ -f /usr/share//bash-completion/completions/tar ]] +++ . /usr/share//bash-completion/completions/tar +++ [[ -n '' ]] +++ return 0 +++ return 124 +++ '[' 124 = 124 ']' ++++ _fzf_bash_completion_compspec /usr/bin/tar +++ local 'newcompspec=complete -F _completion_loader -D' +++ '[' 'complete -F _completion_loader -D' '!=' complete ']' +++ return 124 +++ (( 124 == 124 )) +++ (( count ++ )) +++ (( count > 32 )) +++ echo '/usr/bin/tar: possible retry loop' /usr/bin/tar: possible retry loop +++ break +++ value= +++ code=1 ++++ tr '\n' ' ' +++ value=' ' +++ value= +++ printf 'COMPREPLY=%q\n' '' +++ printf 'code=%q\n' 1 ++++ descend_process 54873 ++++ printf '%s\n' 54873 +++++ pgrep -P 54873 +++ kill -- 54873 ++ eval 'COMPREPLY='\'''\'' code=1' +++ COMPREPLY= +++ code=1 ++ '[' 1 = 0 ']' ++ '[' -n '' ']' ++ printf '\r' ++ command tput el ]0;test@del: ~test@del:~$ /usr/bin/tar set -x[?2004l exit ```
przepompownia commented 1 year ago

Uploaded to https://asciinema.org/a/tStOK31fIkJCAyuvIpgjDq5jU

lincheney commented 1 year ago

oh i see, i was trying /usr/bin/tar but it is actually /usr/bin/tar that is problematic in that case I am getting the same issue let me see what is happening ...

lincheney commented 1 year ago

I've pushed this commit https://github.com/lincheney/fzf-tab-completion/commit/1ec392c710215cfa45078d2b5b469c6119e89fb0 which I think solves the issue Are you able to test it out?

przepompownia commented 1 year ago

It resolves the problem for me, thanks!