-
-
Save jab416171/4757053 to your computer and use it in GitHub Desktop.
Vim doesn't autocomplete /home/$USER/a/b/c.sh if current working directory is /home/$USER
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ /etc/bash_completion:_filedir_xspec:3:IFS=' | |
' | |
+ /etc/bash_completion:_filedir_xspec:4:COMPREPLY=() | |
+ /etc/bash_completion:_filedir_xspec:5:_get_comp_words_by_ref cur | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:1:local exclude flag i OPTIND=1 | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:2:words=() | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:2:local cur cword words | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:3:upargs=() | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:3:upvars=() | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:3:local upargs upvars vcur vcword vprev vwords | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:5:getopts c:i:n:p:w: flag cur | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:14:[[ 1 -ge 1 ]] | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:419:case ${!OPTIND} in | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:16:vcur=cur | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:23:let 'OPTIND += 1' | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:14:[[ 1 -ge 2 ]] | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:26:__get_cword_at_cursor_by_ref '' words cword cur | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:1:words=() | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:1:local cword words | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:2:__reassemble_comp_words_by_ref '' words cword | |
+ /etc/bash_completion:__reassemble_comp_words_by_ref:1:local exclude i j ref | |
+ /etc/bash_completion:__reassemble_comp_words_by_ref:3:[[ -n '' ]] | |
+ /etc/bash_completion:__reassemble_comp_words_by_ref:10:eval cword=1 | |
++ /etc/bash_completion:__reassemble_comp_words_by_ref:-269:cword=1 | |
+ /etc/bash_completion:__reassemble_comp_words_by_ref:12:[[ -n '' ]] | |
+ /etc/bash_completion:__reassemble_comp_words_by_ref:39:eval 'words=(' '"${COMP_WORDS[@]}"' ')' | |
++ /etc/bash_completion:__reassemble_comp_words_by_ref:-240:words=("${COMP_WORDS[@]}") | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:57:local i cur2 | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:58:local 'cur=vim a/b/c.' | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:59:local index=10 | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:60:(( i = 0 )) | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:339:(( i <= cword )) | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:66:[[ 10 -ge 3 ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:66:[[ vim != \v\i\m ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:74:[[ 0 -lt 1 ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:76:local old_size=10 | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:77:cur=' a/b/c.' | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:78:local new_size=7 | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:79:index=7 | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:339:(( ++i )) | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:339:(( i <= cword )) | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:66:[[ 7 -ge 6 ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:66:[[ a/b/c != \a\/\b\/\c\. ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:68:cur=a/b/c. | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:70:(( index-- )) | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:66:[[ 6 -ge 6 ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:66:[[ a/b/c. != \a\/\b\/\c\. ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:74:[[ 1 -lt 1 ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:339:(( ++i )) | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:339:(( i <= cword )) | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:83:[[ a/b/c. != \a\/\b\/\c\. ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:87:cur2=a/b/c. | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:90:local words cword cur | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:91:_upvars -a2 words vim a/b/c. -v cword 1 -v cur a/b/c. | |
+ /etc/bash_completion:_upvars:1:(( 10 )) | |
+ /etc/bash_completion:_upvars:6:(( 10 )) | |
+ /etc/bash_completion:_upvars:243:case $1 in | |
+ /etc/bash_completion:_upvars:10:[[ -n 2 ]] | |
+ /etc/bash_completion:_upvars:12:printf %d 2 | |
+ /etc/bash_completion:_upvars:16:[[ -n words ]] | |
+ /etc/bash_completion:_upvars:16:unset -v words | |
+ /etc/bash_completion:_upvars:16:eval 'words=("${@:3:2}")' | |
++ /etc/bash_completion:_upvars:-220:words=("${@:3:2}") | |
+ /etc/bash_completion:_upvars:17:shift 4 | |
+ /etc/bash_completion:_upvars:6:(( 6 )) | |
+ /etc/bash_completion:_upvars:243:case $1 in | |
+ /etc/bash_completion:_upvars:22:[[ -n cword ]] | |
+ /etc/bash_completion:_upvars:22:unset -v cword | |
+ /etc/bash_completion:_upvars:22:eval 'cword="$3"' | |
++ /etc/bash_completion:_upvars:-214:cword=1 | |
+ /etc/bash_completion:_upvars:23:shift 3 | |
+ /etc/bash_completion:_upvars:6:(( 3 )) | |
+ /etc/bash_completion:_upvars:243:case $1 in | |
+ /etc/bash_completion:_upvars:22:[[ -n cur ]] | |
+ /etc/bash_completion:_upvars:22:unset -v cur | |
+ /etc/bash_completion:_upvars:22:eval 'cur="$3"' | |
++ /etc/bash_completion:_upvars:-214:cur=a/b/c. | |
+ /etc/bash_completion:_upvars:23:shift 3 | |
+ /etc/bash_completion:_upvars:6:(( 0 )) | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:196:[[ -n cur ]] | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:196:upvars+=("$vcur") | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:196:upargs+=(-v $vcur "$cur") | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:197:[[ -n '' ]] | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:198:[[ -n '' ]] | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:200:[[ -n '' ]] | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:203:(( 1 )) | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:203:local cur | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:203:_upvars -v cur a/b/c. | |
+ /etc/bash_completion:_upvars:1:(( 3 )) | |
+ /etc/bash_completion:_upvars:6:(( 3 )) | |
+ /etc/bash_completion:_upvars:243:case $1 in | |
+ /etc/bash_completion:_upvars:22:[[ -n cur ]] | |
+ /etc/bash_completion:_upvars:22:unset -v cur | |
+ /etc/bash_completion:_upvars:22:eval 'cur="$3"' | |
++ /etc/bash_completion:_upvars:-214:cur=a/b/c. | |
+ /etc/bash_completion:_upvars:23:shift 3 | |
+ /etc/bash_completion:_upvars:6:(( 0 )) | |
+ /etc/bash_completion:_filedir_xspec:1363:_expand | |
+ /etc/bash_completion:_expand:8:[[ a/b/c. == \~*/* ]] | |
+ /etc/bash_completion:_expand:10:[[ a/b/c. == \~* ]] | |
++ /etc/bash_completion:_filedir_xspec:-855:awk '/^complete[ \t]+.*[ \t]vim([ \t]|$)/ { print $0; exit }' /etc/bash_completion | |
+ /etc/bash_completion:_filedir_xspec:747:xspec='complete -f -X '\''*.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'\'' vi vim gvim rvim view rview rgvim rgview gview emacs xemacs sxemacs kate kwrite' | |
+ /etc/bash_completion:_filedir_xspec:749:xspec=''\''*.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'\'' vi vim gvim rvim view rview rgvim rgview gview emacs xemacs sxemacs kate kwrite' | |
+ /etc/bash_completion:_filedir_xspec:750:xspec=''\''*.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'\''' | |
+ /etc/bash_completion:_filedir_xspec:752:local -a toks | |
+ /etc/bash_completion:_filedir_xspec:753:local tmp | |
+ /etc/bash_completion:_filedir_xspec:762:toks=(${toks[@]-} $( | |
compgen -d -- "$(quote_readline "$cur")" | { | |
while read -r tmp; do | |
# see long TODO comment in _filedir() --David | |
printf '%s\n' $tmp | |
done | |
} | |
)) | |
++ /etc/bash_completion:_filedir_xspec:-853:read -r tmp | |
+++ /etc/bash_completion:_filedir_xspec:-1710:quote_readline a/b/c. | |
+++ /etc/bash_completion:quote_readline:1:local quoted | |
+++ /etc/bash_completion:quote_readline:2:_quote_readline_by_ref a/b/c. ret | |
+++ /etc/bash_completion:_quote_readline_by_ref:1:[[ a == \' ]] | |
+++ /etc/bash_completion:_quote_readline_by_ref:11:[[ 4 -le 3 ]] | |
+++ /etc/bash_completion:_quote_readline_by_ref:14:printf -v ret %q a/b/c. | |
+++ /etc/bash_completion:_quote_readline_by_ref:20:[[ a == \$ ]] | |
+++ /etc/bash_completion:quote_readline:-392:printf %s a/b/c. | |
++ /etc/bash_completion:_filedir_xspec:-854:compgen -d -- a/b/c. | |
+ /etc/bash_completion:_filedir_xspec:765:eval 'xspec='\''*.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'\''' | |
++ /etc/bash_completion:_filedir_xspec:-91:xspec='*.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)' | |
+ /etc/bash_completion:_filedir_xspec:766:local 'matchop=!' | |
+ /etc/bash_completion:_filedir_xspec:767:[[ *.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class) == !* ]] | |
+ /etc/bash_completion:_filedir_xspec:771:[[ 4 -ge 4 ]] | |
+ /etc/bash_completion:_filedir_xspec:772:xspec='!(*.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)|*.@(O|SO|SO.!(CONF)|A|[RS]PM|GIF|JP?(E)G|MP3|MP?(E)G|AVI|ASF|OGG|CLASS))' | |
+ /etc/bash_completion:_filedir_xspec:781:toks=(${toks[@]-} $( | |
eval compgen -f -X "!$xspec" -- "\$(quote_readline "\$cur")" | { | |
while read -r tmp; do | |
[ -n $tmp ] && printf '%s\n' $tmp | |
done | |
} | |
)) | |
++ /etc/bash_completion:_filedir_xspec:-854:eval compgen -f -X '!!(*.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)|*.@(O|SO|SO.!(CONF)|A|[RS]PM|GIF|JP?(E)G|MP3|MP?(E)G|AVI|ASF|OGG|CLASS))' -- '$(quote_readline $cur)' | |
++ /etc/bash_completion:_filedir_xspec:-853:read -r tmp | |
++++ /etc/bash_completion:_filedir_xspec:-2566:quote_readline a/b/c. | |
++++ /etc/bash_completion:quote_readline:1:local quoted | |
++++ /etc/bash_completion:quote_readline:2:_quote_readline_by_ref a/b/c. ret | |
++++ /etc/bash_completion:_quote_readline_by_ref:1:[[ a == \' ]] | |
++++ /etc/bash_completion:_quote_readline_by_ref:11:[[ 4 -le 3 ]] | |
++++ /etc/bash_completion:_quote_readline_by_ref:14:printf -v ret %q a/b/c. | |
++++ /etc/bash_completion:_quote_readline_by_ref:20:[[ a == \$ ]] | |
++++ /etc/bash_completion:quote_readline:-392:printf %s a/b/c. | |
+++ /etc/bash_completion:_filedir_xspec:-1710:compgen -f -X '!' '!!' -- a/b/c. | |
+ /etc/bash_completion:_filedir_xspec:783:'[' 0 -ne 0 ']' | |
+ /etc/bash_completion:_filedir_xspec:784:COMPREPLY=("${toks[@]}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ /etc/bash_completion:_filedir_xspec:3:IFS=' | |
' | |
+ /etc/bash_completion:_filedir_xspec:4:COMPREPLY=() | |
+ /etc/bash_completion:_filedir_xspec:5:_get_comp_words_by_ref cur | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:1:local exclude flag i OPTIND=1 | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:2:words=() | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:2:local cur cword words | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:3:upargs=() | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:3:upvars=() | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:3:local upargs upvars vcur vcword vprev vwords | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:5:getopts c:i:n:p:w: flag cur | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:14:[[ 1 -ge 1 ]] | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:419:case ${!OPTIND} in | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:16:vcur=cur | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:23:let 'OPTIND += 1' | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:14:[[ 1 -ge 2 ]] | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:26:__get_cword_at_cursor_by_ref '' words cword cur | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:1:words=() | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:1:local cword words | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:2:__reassemble_comp_words_by_ref '' words cword | |
+ /etc/bash_completion:__reassemble_comp_words_by_ref:1:local exclude i j ref | |
+ /etc/bash_completion:__reassemble_comp_words_by_ref:3:[[ -n '' ]] | |
+ /etc/bash_completion:__reassemble_comp_words_by_ref:10:eval cword=1 | |
++ /etc/bash_completion:__reassemble_comp_words_by_ref:-269:cword=1 | |
+ /etc/bash_completion:__reassemble_comp_words_by_ref:12:[[ -n '' ]] | |
+ /etc/bash_completion:__reassemble_comp_words_by_ref:39:eval 'words=(' '"${COMP_WORDS[@]}"' ')' | |
++ /etc/bash_completion:__reassemble_comp_words_by_ref:-240:words=("${COMP_WORDS[@]}") | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:57:local i cur2 | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:58:local 'cur=vim b/c.' | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:59:local index=8 | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:60:(( i = 0 )) | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:339:(( i <= cword )) | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:66:[[ 8 -ge 3 ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:66:[[ vim != \v\i\m ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:74:[[ 0 -lt 1 ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:76:local old_size=8 | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:77:cur=' b/c.' | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:78:local new_size=5 | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:79:index=5 | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:339:(( ++i )) | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:339:(( i <= cword )) | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:66:[[ 5 -ge 4 ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:66:[[ b/c != \b\/\c\. ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:68:cur=b/c. | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:70:(( index-- )) | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:66:[[ 4 -ge 4 ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:66:[[ b/c. != \b\/\c\. ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:74:[[ 1 -lt 1 ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:339:(( ++i )) | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:339:(( i <= cword )) | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:83:[[ b/c. != \b\/\c\. ]] | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:87:cur2=b/c. | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:90:local words cword cur | |
+ /etc/bash_completion:__get_cword_at_cursor_by_ref:91:_upvars -a2 words vim b/c. -v cword 1 -v cur b/c. | |
+ /etc/bash_completion:_upvars:1:(( 10 )) | |
+ /etc/bash_completion:_upvars:6:(( 10 )) | |
+ /etc/bash_completion:_upvars:243:case $1 in | |
+ /etc/bash_completion:_upvars:10:[[ -n 2 ]] | |
+ /etc/bash_completion:_upvars:12:printf %d 2 | |
+ /etc/bash_completion:_upvars:16:[[ -n words ]] | |
+ /etc/bash_completion:_upvars:16:unset -v words | |
+ /etc/bash_completion:_upvars:16:eval 'words=("${@:3:2}")' | |
++ /etc/bash_completion:_upvars:-220:words=("${@:3:2}") | |
+ /etc/bash_completion:_upvars:17:shift 4 | |
+ /etc/bash_completion:_upvars:6:(( 6 )) | |
+ /etc/bash_completion:_upvars:243:case $1 in | |
+ /etc/bash_completion:_upvars:22:[[ -n cword ]] | |
+ /etc/bash_completion:_upvars:22:unset -v cword | |
+ /etc/bash_completion:_upvars:22:eval 'cword="$3"' | |
++ /etc/bash_completion:_upvars:-214:cword=1 | |
+ /etc/bash_completion:_upvars:23:shift 3 | |
+ /etc/bash_completion:_upvars:6:(( 3 )) | |
+ /etc/bash_completion:_upvars:243:case $1 in | |
+ /etc/bash_completion:_upvars:22:[[ -n cur ]] | |
+ /etc/bash_completion:_upvars:22:unset -v cur | |
+ /etc/bash_completion:_upvars:22:eval 'cur="$3"' | |
++ /etc/bash_completion:_upvars:-214:cur=b/c. | |
+ /etc/bash_completion:_upvars:23:shift 3 | |
+ /etc/bash_completion:_upvars:6:(( 0 )) | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:196:[[ -n cur ]] | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:196:upvars+=("$vcur") | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:196:upargs+=(-v $vcur "$cur") | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:197:[[ -n '' ]] | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:198:[[ -n '' ]] | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:200:[[ -n '' ]] | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:203:(( 1 )) | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:203:local cur | |
+ /etc/bash_completion.d/git:_get_comp_words_by_ref:203:_upvars -v cur b/c. | |
+ /etc/bash_completion:_upvars:1:(( 3 )) | |
+ /etc/bash_completion:_upvars:6:(( 3 )) | |
+ /etc/bash_completion:_upvars:243:case $1 in | |
+ /etc/bash_completion:_upvars:22:[[ -n cur ]] | |
+ /etc/bash_completion:_upvars:22:unset -v cur | |
+ /etc/bash_completion:_upvars:22:eval 'cur="$3"' | |
++ /etc/bash_completion:_upvars:-214:cur=b/c. | |
+ /etc/bash_completion:_upvars:23:shift 3 | |
+ /etc/bash_completion:_upvars:6:(( 0 )) | |
+ /etc/bash_completion:_filedir_xspec:1363:_expand | |
+ /etc/bash_completion:_expand:8:[[ b/c. == \~*/* ]] | |
+ /etc/bash_completion:_expand:10:[[ b/c. == \~* ]] | |
++ /etc/bash_completion:_filedir_xspec:-855:awk '/^complete[ \t]+.*[ \t]vim([ \t]|$)/ { print $0; exit }' /etc/bash_completion | |
+ /etc/bash_completion:_filedir_xspec:747:xspec='complete -f -X '\''*.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'\'' vi vim gvim rvim view rview rgvim rgview gview emacs xemacs sxemacs kate kwrite' | |
+ /etc/bash_completion:_filedir_xspec:749:xspec=''\''*.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'\'' vi vim gvim rvim view rview rgvim rgview gview emacs xemacs sxemacs kate kwrite' | |
+ /etc/bash_completion:_filedir_xspec:750:xspec=''\''*.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'\''' | |
+ /etc/bash_completion:_filedir_xspec:752:local -a toks | |
+ /etc/bash_completion:_filedir_xspec:753:local tmp | |
+ /etc/bash_completion:_filedir_xspec:762:toks=(${toks[@]-} $( | |
compgen -d -- "$(quote_readline "$cur")" | { | |
while read -r tmp; do | |
# see long TODO comment in _filedir() --David | |
printf '%s\n' $tmp | |
done | |
} | |
)) | |
++ /etc/bash_completion:_filedir_xspec:-853:read -r tmp | |
+++ /etc/bash_completion:_filedir_xspec:-1710:quote_readline b/c. | |
+++ /etc/bash_completion:quote_readline:1:local quoted | |
+++ /etc/bash_completion:quote_readline:2:_quote_readline_by_ref b/c. ret | |
+++ /etc/bash_completion:_quote_readline_by_ref:1:[[ b == \' ]] | |
+++ /etc/bash_completion:_quote_readline_by_ref:11:[[ 4 -le 3 ]] | |
+++ /etc/bash_completion:_quote_readline_by_ref:14:printf -v ret %q b/c. | |
+++ /etc/bash_completion:_quote_readline_by_ref:20:[[ b == \$ ]] | |
+++ /etc/bash_completion:quote_readline:-392:printf %s b/c. | |
++ /etc/bash_completion:_filedir_xspec:-854:compgen -d -- b/c. | |
+ /etc/bash_completion:_filedir_xspec:765:eval 'xspec='\''*.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'\''' | |
++ /etc/bash_completion:_filedir_xspec:-91:xspec='*.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)' | |
+ /etc/bash_completion:_filedir_xspec:766:local 'matchop=!' | |
+ /etc/bash_completion:_filedir_xspec:767:[[ *.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class) == !* ]] | |
+ /etc/bash_completion:_filedir_xspec:771:[[ 4 -ge 4 ]] | |
+ /etc/bash_completion:_filedir_xspec:772:xspec='!(*.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)|*.@(O|SO|SO.!(CONF)|A|[RS]PM|GIF|JP?(E)G|MP3|MP?(E)G|AVI|ASF|OGG|CLASS))' | |
+ /etc/bash_completion:_filedir_xspec:781:toks=(${toks[@]-} $( | |
eval compgen -f -X "!$xspec" -- "\$(quote_readline "\$cur")" | { | |
while read -r tmp; do | |
[ -n $tmp ] && printf '%s\n' $tmp | |
done | |
} | |
)) | |
++ /etc/bash_completion:_filedir_xspec:-854:eval compgen -f -X '!!(*.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)|*.@(O|SO|SO.!(CONF)|A|[RS]PM|GIF|JP?(E)G|MP3|MP?(E)G|AVI|ASF|OGG|CLASS))' -- '$(quote_readline $cur)' | |
++ /etc/bash_completion:_filedir_xspec:-853:read -r tmp | |
++++ /etc/bash_completion:_filedir_xspec:-2566:quote_readline b/c. | |
++++ /etc/bash_completion:quote_readline:1:local quoted | |
++++ /etc/bash_completion:quote_readline:2:_quote_readline_by_ref b/c. ret | |
++++ /etc/bash_completion:_quote_readline_by_ref:1:[[ b == \' ]] | |
++++ /etc/bash_completion:_quote_readline_by_ref:11:[[ 4 -le 3 ]] | |
++++ /etc/bash_completion:_quote_readline_by_ref:14:printf -v ret %q b/c. | |
++++ /etc/bash_completion:_quote_readline_by_ref:20:[[ b == \$ ]] | |
++++ /etc/bash_completion:quote_readline:-392:printf %s b/c. | |
+++ /etc/bash_completion:_filedir_xspec:-1710:compgen -f -X '!!(*.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)|*.@(O|SO|SO.!(CONF)|A|[RS]PM|GIF|JP?(E)G|MP3|MP?(E)G|AVI|ASF|OGG|CLASS))' -- b/c. | |
++ /etc/bash_completion:_filedir_xspec:-852:'[' -n b/c.sh ']' | |
++ /etc/bash_completion:_filedir_xspec:-852:printf '%s\n' b/c.sh | |
++ /etc/bash_completion:_filedir_xspec:-853:read -r tmp | |
+ /etc/bash_completion:_filedir_xspec:783:'[' 1 -ne 0 ']' | |
+ /etc/bash_completion:_filedir_xspec:783:_compopt_o_filenames | |
+ /etc/bash_completion:_compopt_o_filenames:4:type compopt | |
+ /etc/bash_completion:_compopt_o_filenames:4:compopt -o filenames | |
+ /etc/bash_completion:_filedir_xspec:1023:COMPREPLY=("${toks[@]}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment