. -- PREFIX 'm' -- PREFIX 'opy/doc' -- PREFIX o -- PREFIX nonexistent/ -- PREFIX README. -- PREFIX core -- PREFIX asdl/R -- PREFIX opy/doc -- PREFIX opy/doc/ -- PREFIX /bi -- PREFIX /tmp/oil_comp_test/ -- PREFIX ./o -- PREFIX i ..Running completion function 'f' with 3 arguments ... --- Case 3: 'noflags foo:bar --color=auto\t' with flags [] [] ['../oil_DEPS/', '../oilshell.org__deploy/', '../oil2/', '../oilshell.org/', '../oil-sketch/', '../oil/', '../oil-jasom/', '../oil.wiki/', '../oil.OLD/'] py (UserSpec [TestAction]) rb (None, None) words: {}{ }{<--color> } redirects: tokens: <--color> alias_words: Running completion function 'my_complete' with 3 arguments line: 'noflags foo:bar --color=auto' rl_slice from byte 0 to 28: 'noflags foo:bar --color=auto' Completing words partial_argv: [noflags,foo:bar,--color=auto] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 16 length: 7 span_id: 6 line: (SourceLine line_num: 1 content: 'noflags foo:bar --color=auto' src: (source.MainFile path:'') ) tval: --color ) (Token id: Id.Lit_Equals col: 23 length: 1 span_id: 7 line: (SourceLine line_num: 1 content: 'noflags foo:bar --color=auto' src: (source.MainFile path:'') ) tval: '=' ) (Token id: Id.Lit_Chars col: 24 length: 4 span_id: 8 line: (SourceLine line_num: 1 content: 'noflags foo:bar --color=auto' src: (source.MainFile path:'') ) tval: auto ) (Token id: Id.Lit_CompDummy col: 28 length: 0 span_id: 9 line: (SourceLine line_num: 1 content: 'noflags foo:bar --color=auto' src: (source.MainFile path:'') ) tval: '' ) ] )] display_pos 16 Completing 'noflags foo:bar --color=auto' ... (Ctrl-C to cancel) ok matches = ['noflags foo:bar dummy '] --- Case 4: 'noflags "foo:bar|" --color=auto\t' with flags [] Found 1 match for 'noflags foo:bar --color=auto' in 9 ms words: {}{(DQ <'foo:bar|'>)}{<--color> } redirects: tokens: <'foo:bar|'><--color> alias_words: Running completion function 'my_complete' with 3 arguments line: 'noflags "foo:bar|" --color=auto' rl_slice from byte 0 to 31: 'noflags "foo:bar|" --color=auto' Completing words partial_argv: [noflags,foo:bar|,--color=auto] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 19 length: 7 span_id: 6 line: (SourceLine line_num: 1 content: 'noflags "foo:bar|" --color=auto' src: (source.MainFile path:'') ) tval: --color ) (Token id: Id.Lit_Equals col: 26 length: 1 span_id: 7 line: (SourceLine line_num: 1 content: 'noflags "foo:bar|" --color=auto' src: (source.MainFile path:'') ) tval: '=' ) (Token id: Id.Lit_Chars col: 27 length: 4 span_id: 8 line: (SourceLine line_num: 1 content: 'noflags "foo:bar|" --color=auto' src: (source.MainFile path:'') ) tval: auto ) (Token id: Id.Lit_CompDummy col: 31 length: 0 span_id: 9 line: (SourceLine line_num: 1 content: 'noflags "foo:bar|" --color=auto' src: (source.MainFile path:'') ) tval: '' ) ] )] display_pos 19 Completing 'noflags "foo:bar|" --color=auto' ... (Ctrl-C to cancel) ok Non-fatal assertion failed: COMP_WORDS: Expected noflags "foo:bar|" --color = auto, got noflags foo : bar| --color = auto Non-fatal assertion failed: COMP_CWORD: Expected 4, got 6 Non-fatal assertion failed: COMP_WORDS: Expected noflags "foo:bar|" --color = auto, got noflags foo : bar| --color = auto Non-fatal assertion failed: cword: Expected 4, got 6 matches = ['noflags "foo:bar|" dummy '] --- Case 5: 'noflags "foo:bar|\t' with flags [] Found 1 match for 'noflags "foo:bar|" --color=auto' in 5 ms words: redirects: tokens: <'foo:bar|'> alias_words: matches = [] --- Case 6: 's foo:bar --color=auto\t' with flags ['-s'] line: 'noflags "foo:bar|' rl_slice from byte 0 to 17: 'noflags "foo:bar|' Didn't find anything to complete words: {}{ }{<--color> } redirects: tokens: <--color> alias_words: Running completion function 'my_complete' with 3 arguments line: 's foo:bar --color=auto' rl_slice from byte 0 to 22: 's foo:bar --color=auto' Completing words partial_argv: [s,foo:bar,--color=auto] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 10 length: 7 span_id: 6 line: (SourceLine line_num: 1 content: 's foo:bar --color=auto' src: (source.MainFile path:'') ) tval: --color ) (Token id: Id.Lit_Equals col: 17 length: 1 span_id: 7 line: (SourceLine line_num: 1 content: 's foo:bar --color=auto' src: (source.MainFile path:'') ) tval: '=' ) (Token id: Id.Lit_Chars col: 18 length: 4 span_id: 8 line: (SourceLine line_num: 1 content: 's foo:bar --color=auto' src: (source.MainFile path:'') ) tval: auto ) (Token id: Id.Lit_CompDummy col: 22 length: 0 span_id: 9 line: (SourceLine line_num: 1 content: 's foo:bar --color=auto' src: (source.MainFile path:'') ) tval: '' ) ] )] display_pos 10 Completing 's foo:bar --color=auto' ... (Ctrl-C to cancel) ok matches = ['s foo:bar dummy '] --- Case 7: 's foo:bar --color auto\t' with flags ['-s'] Found 1 match for 's foo:bar --color=auto' in 8 ms words: {}{ }{<--color>}{ } redirects: tokens: <--color> alias_words: Running completion function 'my_complete' with 3 arguments line: 's foo:bar --color auto' rl_slice from byte 0 to 22: 's foo:bar --color auto' Completing words partial_argv: [s,foo:bar,--color,auto] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 18 length: 4 span_id: 8 line: (SourceLine line_num: 1 content: 's foo:bar --color auto' src: (source.MainFile path:'') ) tval: auto ) (Token id: Id.Lit_CompDummy col: 22 length: 0 span_id: 9 line: (SourceLine line_num: 1 content: 's foo:bar --color auto' src: (source.MainFile path:'') ) tval: '' ) ] )] display_pos 18 Completing 's foo:bar --color auto' ... (Ctrl-C to cancel) ok matches = ['s foo:bar --color dummy '] --- Case 8: 'n foo:bar --color=auto\t' with flags ['-n', '='] Found 1 match for 's foo:bar --color auto' in 8 ms words: {}{ }{<--color> } redirects: tokens: <--color> alias_words: Running completion function 'my_complete' with 3 arguments line: 'n foo:bar --color=auto' rl_slice from byte 0 to 22: 'n foo:bar --color=auto' Completing words partial_argv: [n,foo:bar,--color=auto] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 10 length: 7 span_id: 6 line: (SourceLine line_num: 1 content: 'n foo:bar --color=auto' src: (source.MainFile path:'') ) tval: --color ) (Token id: Id.Lit_Equals col: 17 length: 1 span_id: 7 line: (SourceLine line_num: 1 content: 'n foo:bar --color=auto' src: (source.MainFile path:'') ) tval: '=' ) (Token id: Id.Lit_Chars col: 18 length: 4 span_id: 8 line: (SourceLine line_num: 1 content: 'n foo:bar --color=auto' src: (source.MainFile path:'') ) tval: auto ) (Token id: Id.Lit_CompDummy col: 22 length: 0 span_id: 9 line: (SourceLine line_num: 1 content: 'n foo:bar --color=auto' src: (source.MainFile path:'') ) tval: '' ) ] )] display_pos 10 Completing 'n foo:bar --color=auto' ... (Ctrl-C to cancel) ok matches = ['n foo:bar dummy '] --- Case 9: 'n2 foo:bar --color=auto\t' with flags ['-n', ':='] Found 1 match for 'n foo:bar --color=auto' in 8 ms words: {}{ }{<--color> } redirects: tokens: <--color> alias_words: Running completion function 'my_complete' with 3 arguments line: 'n2 foo:bar --color=auto' rl_slice from byte 0 to 23: 'n2 foo:bar --color=auto' Completing words partial_argv: [n2,foo:bar,--color=auto] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 11 length: 7 span_id: 6 line: (SourceLine line_num: 1 content: 'n2 foo:bar --color=auto' src: (source.MainFile path:'') ) tval: --color ) (Token id: Id.Lit_Equals col: 18 length: 1 span_id: 7 line: (SourceLine line_num: 1 content: 'n2 foo:bar --color=auto' src: (source.MainFile path:'') ) tval: '=' ) (Token id: Id.Lit_Chars col: 19 length: 4 span_id: 8 line: (SourceLine line_num: 1 content: 'n2 foo:bar --color=auto' src: (source.MainFile path:'') ) tval: auto ) (Token id: Id.Lit_CompDummy col: 23 length: 0 span_id: 9 line: (SourceLine line_num: 1 content: 'n2 foo:bar --color=auto' src: (source.MainFile path:'') ) tval: '' ) ] )] display_pos 11 Completing 'n2 foo:bar --color=auto' ... (Ctrl-C to cancel) ok matches = ['n2 foo:bar dummy '] Ran 10 cases .Found 1 match for 'n2 foo:bar --color=auto' in 8 ms words: {}{} redirects: tokens: alias_words: line: 'ls ' rl_slice from byte 0 to 3: 'ls ' Completing words partial_argv: [ls,] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_CompDummy col: 3 length: 0 span_id: 1641 line: (SourceLine line_num:1 content:'ls ' src:(source.MainFile path:'')) tval: '' ) ] )] display_pos 3 Completing 'ls ' ... (Ctrl-C to cancel) Found 2 matches for 'ls ' in 0 ms words: {}{} redirects: tokens: alias_words: {}{<-l>} line: 'll ' rl_slice from byte 0 to 3: 'll ' Completing words partial_argv: [ll,] alias_words: [[(compound_word parts: [ (Token id: Id.Lit_Chars col: 0 length: 2 span_id: 1647 line: (SourceLine line_num:1 content:'ls -l ' src:(source.Alias argv0:ll argv0_spid:1643)) tval: ls ) ] ), (compound_word parts: [ (Token id: Id.Lit_Chars col: 3 length: 2 span_id: 1649 line: (SourceLine line_num:1 content:'ls -l ' src:(source.Alias argv0:ll argv0_spid:1643)) tval: -l ) ] )]] alias_first: ls words[-1]: [(compound_word parts: [ (Token id: Id.Lit_CompDummy col: 3 length: 0 span_id: 1645 line: (SourceLine line_num:1 content:'ll ' src:(source.MainFile path:'')) tval: '' ) ] )] display_pos 3 Completing 'll ' ... (Ctrl-C to cancel) Found 2 matches for 'll ' in 0 ms words: {}{} redirects: tokens: alias_words: {}{<-l>}{<--classify>} line: 'll_classify ' rl_slice from byte 0 to 12: 'll_classify ' Completing words partial_argv: [ll_classify,] alias_words: [[(compound_word parts: [ (Token id: Id.Lit_Chars col: 0 length: 2 span_id: 1661 line: (SourceLine line_num: 1 content: 'ls -l --classify' src: (source.Alias argv0:ll argv0_spid:1656) ) tval: ls ) ] ), (compound_word parts: [ (Token id: Id.Lit_Chars col: 3 length: 2 span_id: 1663 line: (SourceLine line_num: 1 content: 'ls -l --classify' src: (source.Alias argv0:ll argv0_spid:1656) ) tval: -l ) ] ), (compound_word parts: [ (Token id: Id.Lit_Chars col: 6 length: 10 span_id: 1665 line: (SourceLine line_num: 1 content: 'ls -l --classify' src: (source.Alias argv0:ll argv0_spid:1656) ) tval: --classify ) ] )]] alias_first: ls words[-1]: [(compound_word parts: [ (Token id: Id.Lit_CompDummy col: 12 length: 0 span_id: 1654 line: (SourceLine line_num:1 content:'ll_classify ' src:(source.MainFile path:'')) tval: '' ) ] )] display_pos 12 Completing 'll_classify ' ... (Ctrl-C to cancel) Found 2 matches for 'll_classify ' in 0 ms words: {}{} redirects: tokens: alias_words: {}{<-l>} line: 'll_trailing ' rl_slice from byte 0 to 12: 'll_trailing ' Completing words partial_argv: [ll_trailing,] alias_words: [[(compound_word parts: [ (Token id: Id.Lit_Chars col: 0 length: 2 span_id: 1671 line: (SourceLine line_num: 1 content: 'ls -l ' src: (source.Alias argv0:ll_trailing argv0_spid:1667) ) tval: ls ) ] ), (compound_word parts: [ (Token id: Id.Lit_Chars col: 3 length: 2 span_id: 1673 line: (SourceLine line_num: 1 content: 'ls -l ' src: (source.Alias argv0:ll_trailing argv0_spid:1667) ) tval: -l ) ] )]] alias_first: ls words[-1]: [(compound_word parts: [ (Token id: Id.Lit_CompDummy col: 12 length: 0 span_id: 1669 line: (SourceLine line_num:1 content:'ll_trailing ' src:(source.MainFile path:'')) tval: '' ) ] )] display_pos 12 Completing 'll_trailing ' ... (Ctrl-C to cancel) Found 2 matches for 'll_trailing ' in 0 ms words: {}{} redirects: tokens: alias_words: {}{<-l>} .line: 'll_own_completion ' rl_slice from byte 0 to 18: 'll_own_completion ' Completing words partial_argv: [ll_own_completion,] alias_words: [[(compound_word parts: [ (Token id: Id.Lit_Chars col: 0 length: 2 span_id: 1680 line: (SourceLine line_num: 1 content: 'ls -l ' src: (source.Alias argv0:ll_own_completion argv0_spid:1676) ) tval: ls ) ] ), (compound_word parts: [ (Token id: Id.Lit_Chars col: 3 length: 2 span_id: 1682 line: (SourceLine line_num: 1 content: 'ls -l ' src: (source.Alias argv0:ll_own_completion argv0_spid:1676) ) tval: -l ) ] )]] alias_first: ls words[-1]: [(compound_word parts: [ (Token id: Id.Lit_CompDummy col: 18 length: 0 span_id: 1678 line: (SourceLine line_num: 1 content: 'll_own_completion ' src: (source.MainFile path:'') ) tval: '' ) ] )] display_pos 18 Completing 'll_own_completion ' ... (Ctrl-C to cancel) Found 2 matches for 'll_own_completion ' in 0 ms words: { } redirects: tokens: alias_words: line: 'gre' rl_slice from byte 0 to 3: 'gre' Completing words partial_argv: [gre] alias_words: [[]] ** DISPLAY_POS = 0 Completing 'gre' ... (Ctrl-C to cancel) Found 1 match for 'gre' in 0 ms words: { } redirects: tokens: alias_words: line: 'echo $(gre' rl_slice from byte 0 to 10: 'echo $(gre' Completing words partial_argv: [gre] alias_words: [[]] ** DISPLAY_POS = 7 Completing 'echo $(gre' ... (Ctrl-C to cancel) Found 1 match for 'echo $(gre' in 0 ms words: { } redirects: tokens: alias_words: line: 'echo `gre' rl_slice from byte 0 to 9: 'echo `gre' Completing words partial_argv: [gre] alias_words: [[]] ** DISPLAY_POS = 6 Completing 'echo `gre' ... (Ctrl-C to cancel) Found 1 match for 'echo `gre' in 0 ms words: {}{ } redirects: tokens: alias_words: .line: 'echo `grep f' rl_slice from byte 0 to 12: 'echo `grep f' Completing words partial_argv: [grep,f] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 11 length: 1 span_id: 20 line: (SourceLine line_num:1 content:'echo `grep f' src:(source.MainFile path:'')) tval: f ) (Token id: Id.Lit_CompDummy col: 12 length: 0 span_id: 21 line: (SourceLine line_num:1 content:'echo `grep f' src:(source.MainFile path:'')) tval: '' ) ] )] display_pos 11 Completing 'echo `grep f' ... (Ctrl-C to cancel) Found 2 matches for 'echo `grep f' in 0 ms words: {}{ } redirects: tokens: alias_words: line: 'echo ~r' rl_slice from byte 0 to 7: 'echo ~r' words: {}{ } redirects: tokens: alias_words: line: 'echo ~' rl_slice from byte 0 to 6: 'echo ~' words: {}{ } redirects: tokens: alias_words: .line: 'echo a~' rl_slice from byte 0 to 7: 'echo a~' Completing words partial_argv: [echo,a~] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 5 length: 1 span_id: 12 line: (SourceLine line_num:1 content:'echo a~' src:(source.MainFile path:'')) tval: a ) (Token id: Id.Lit_TildeLike col: 6 length: 1 span_id: 13 line: (SourceLine line_num:1 content:'echo a~' src:(source.MainFile path:'')) tval: '~' ) (Token id: Id.Lit_CompDummy col: 7 length: 0 span_id: 14 line: (SourceLine line_num:1 content:'echo a~' src:(source.MainFile path:'')) tval: '' ) ] )] display_pos 5 Completing 'echo a~' ... (Ctrl-C to cancel) Found 0 matches for 'echo a~' in 0 ms words: {} redirects: (redir op: loc:(redir_loc.Fd fd:0) arg:{ }) tokens: alias_words: line: 'cat < b' rl_slice from byte 0 to 7: 'cat < b' Completing redirect arg words: {} redirects: (redir op:&'> loc:(redir_loc.Fd fd:1) arg:{}) tokens: &'> alias_words: ..line: 'echo >&' rl_slice from byte 0 to 7: 'echo >&' Didn't find anything to complete words: {}{ } redirects: tokens: alias_words: line: 'echo $' rl_slice from byte 0 to 6: 'echo $' words: {}{($ Id.VSub_DollarName P) } redirects: tokens: alias_words: line: 'echo $P' rl_slice from byte 0 to 7: 'echo $P' words: redirects: tokens: alias_words: line: 'echo _${' rl_slice from byte 0 to 8: 'echo _${' words: redirects: tokens: alias_words: line: 'echo ${P' rl_slice from byte 0 to 8: 'echo ${P' words: redirects: tokens: alias_words: line: 'echo ${undef:-$P' rl_slice from byte 0 to 16: 'echo ${undef:-$P' words: redirects: tokens: alias_words: line: 'echo ${undef:-$' rl_slice from byte 0 to 15: 'echo ${undef:-$' words: redirects: tokens: alias_words: line: 'echo "$' rl_slice from byte 0 to 7: 'echo "$' words: redirects: tokens: alias_words: line: 'echo "$P' rl_slice from byte 0 to 8: 'echo "$P' words: redirects: tokens: alias_words: line: 'echo "${#P' rl_slice from byte 0 to 10: 'echo "${#P' words: redirects: tokens: alias_words: line: 'echo "$((PWD +P' rl_slice from byte 0 to 15: 'echo "$((PWD +P' words: redirects: tokens: alias_words: .line: 'echo "$(( $P' rl_slice from byte 0 to 12: 'echo "$(( $P' words: {}{ } redirects: tokens: alias_words: line: 'grep f' rl_slice from byte 0 to 6: 'grep f' Completing words partial_argv: [grep,f] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 5 length: 1 span_id: 2 line: (SourceLine line_num:1 content:'grep f' src:(source.MainFile path:'')) tval: f ) (Token id: Id.Lit_CompDummy col: 6 length: 0 span_id: 3 line: (SourceLine line_num:1 content:'grep f' src:(source.MainFile path:'')) tval: '' ) ] )] display_pos 5 Completing 'grep f' ... (Ctrl-C to cancel) Found 2 matches for 'grep f' in 0 ms words: {}{ } redirects: tokens: alias_words: line: 'grep g' rl_slice from byte 0 to 6: 'grep g' Completing words partial_argv: [grep,g] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 5 length: 1 span_id: 7 line: (SourceLine line_num:1 content:'grep g' src:(source.MainFile path:'')) tval: g ) (Token id: Id.Lit_CompDummy col: 6 length: 0 span_id: 8 line: (SourceLine line_num:1 content:'grep g' src:(source.MainFile path:'')) tval: '' ) ] )] display_pos 5 Completing 'grep g' ... (Ctrl-C to cancel) Found 0 matches for 'grep g' in 0 ms words: { } redirects: tokens: alias_words: line: 'g' rl_slice from byte 0 to 1: 'g' Completing words partial_argv: [g] alias_words: [[]] ** DISPLAY_POS = 0 Completing 'g' ... (Ctrl-C to cancel) Found 1 match for 'g' in 0 ms words: {} redirects: tokens: alias_words: line: '' rl_slice from byte 0 to 0: '' Completing words partial_argv: [] alias_words: [[]] ** DISPLAY_POS = 0 Completing '' ... (Ctrl-C to cancel) Found 3 matches for '' in 0 ms words: {}{ } redirects: tokens: alias_words: line: 'echo hi || grep f' rl_slice from byte 0 to 17: 'echo hi || grep f' Completing words partial_argv: [grep,f] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 16 length: 1 span_id: 23 line: (SourceLine line_num: 1 content: 'echo hi || grep f' src: (source.MainFile path:'') ) tval: f ) (Token id: Id.Lit_CompDummy col: 17 length: 0 span_id: 24 line: (SourceLine line_num: 1 content: 'echo hi || grep f' src: (source.MainFile path:'') ) tval: '' ) ] )] display_pos 16 Completing 'echo hi || grep f' ... (Ctrl-C to cancel) Found 2 matches for 'echo hi || grep f' in 0 ms words: {}{ } redirects: tokens: alias_words: line: 'echo hi; grep f' rl_slice from byte 0 to 15: 'echo hi; grep f' Completing words partial_argv: [grep,f] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 14 length: 1 span_id: 33 line: (SourceLine line_num:1 content:'echo hi; grep f' src:(source.MainFile path:'')) tval: f ) (Token id: Id.Lit_CompDummy col: 15 length: 0 span_id: 34 line: (SourceLine line_num:1 content:'echo hi; grep f' src:(source.MainFile path:'')) tval: '' ) ] )] display_pos 14 Completing 'echo hi; grep f' ... (Ctrl-C to cancel) Found 2 matches for 'echo hi; grep f' in 0 ms words: {}{ } redirects: tokens: alias_words: line: '{ echo hi; grep f' rl_slice from byte 0 to 17: '{ echo hi; grep f' Completing words partial_argv: [grep,f] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 16 length: 1 span_id: 45 line: (SourceLine line_num: 1 content: '{ echo hi; grep f' src: (source.MainFile path:'') ) tval: f ) (Token id: Id.Lit_CompDummy col: 17 length: 0 span_id: 46 line: (SourceLine line_num: 1 content: '{ echo hi; grep f' src: (source.MainFile path:'') ) tval: '' ) ] )] display_pos 16 Completing '{ echo hi; grep f' ... (Ctrl-C to cancel) Found 2 matches for '{ echo hi; grep f' in 0 ms words: redirects: tokens: alias_words: line: 'var=$v' rl_slice from byte 0 to 6: 'var=$v' words: {}{} redirects: tokens: alias_words: .line: 'local var=$v' rl_slice from byte 0 to 12: 'local var=$v' words: {}{} redirects: tokens: alias_words: Running completion function '_bad' with 3 arguments line: 'bad ' rl_slice from byte 0 to 4: 'bad ' Completing words partial_argv: [bad,] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_CompDummy col: 4 length: 0 span_id: 180 line: (SourceLine line_num:1 content:'bad ' src:(source.MainFile path:'')) tval: '' ) ] )] display_pos 4 Completing 'bad ' ... (Ctrl-C to cancel) _bad returning 124 Function '_bad' returned 124, but the completion spec for 'bad' wasn't changed Found 0 matches for 'bad ' in 0 ms words: {}{} redirects: tokens: alias_words: Running completion function '_both' with 3 arguments Function '_both' returned 124, but the completion spec for 'both' wasn't changed line: 'both ' rl_slice from byte 0 to 5: 'both ' Completing words partial_argv: [both,] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_CompDummy col: 5 length: 0 span_id: 184 line: (SourceLine line_num:1 content:'both ' src:(source.MainFile path:'')) tval: '' ) ] )] display_pos 5 Completing 'both ' ... (Ctrl-C to cancel) Found 0 matches for 'both ' in 0 ms words: {}{} redirects: tokens: alias_words: Running completion function '_both2' with 3 arguments line: 'both2 ' rl_slice from byte 0 to 6: 'both2 ' Completing words partial_argv: [both2,] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_CompDummy col: 6 length: 0 span_id: 188 line: (SourceLine line_num:1 content:'both2 ' src:(source.MainFile path:'')) tval: '' ) ] )] display_pos 6 Completing 'both2 ' ... (Ctrl-C to cancel) .Got 124, trying again ... Completing 'both2 ' ... (Ctrl-C to cancel) Found 2 matches for 'both2 ' in 0 ms words: {}{ } redirects: tokens: alias_words: Running completion function 'complete_mywords' with 3 arguments line: 'mywords t' rl_slice from byte 0 to 9: 'mywords t' Completing words partial_argv: [mywords,t] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 8 length: 1 span_id: 2 line: (SourceLine line_num:1 content:'mywords t' src:(source.MainFile path:'')) tval: t ) (Token id: Id.Lit_CompDummy col: 9 length: 0 span_id: 3 line: (SourceLine line_num:1 content:'mywords t' src:(source.MainFile path:'')) tval: '' ) ] )] display_pos 8 Completing 'mywords t' ... (Ctrl-C to cancel) Found 2 matches for 'mywords t' in 1 ms words: {}{ } redirects: tokens: alias_words: Running completion function 'complete_mywords' with 3 arguments line: 'mywords_nospace t' rl_slice from byte 0 to 17: 'mywords_nospace t' Completing words partial_argv: [mywords_nospace,t] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 16 length: 1 span_id: 7 line: (SourceLine line_num: 1 content: 'mywords_nospace t' src: (source.MainFile path:'') ) tval: t ) (Token id: Id.Lit_CompDummy col: 17 length: 0 span_id: 8 line: (SourceLine line_num: 1 content: 'mywords_nospace t' src: (source.MainFile path:'') ) tval: '' ) ] )] display_pos 16 Completing 'mywords_nospace t' ... (Ctrl-C to cancel) Found 2 matches for 'mywords_nospace t' in 1 ms words: {}{} redirects: tokens: alias_words: Running completion function 'complete_mywords' with 3 arguments line: 'flagX ' rl_slice from byte 0 to 6: 'flagX ' Completing words partial_argv: [flagX,] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_CompDummy col: 6 length: 0 span_id: 12 line: (SourceLine line_num:1 content:'flagX ' src:(source.MainFile path:'')) tval: '' ) ] )] display_pos 6 Completing 'flagX ' ... (Ctrl-C to cancel) Found 2 matches for 'flagX ' in 1 ms words: {}{} redirects: tokens: alias_words: Running completion function 'complete_mywords' with 3 arguments line: 'flagX_bang ' rl_slice from byte 0 to 11: 'flagX_bang ' Completing words partial_argv: [flagX_bang,] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_CompDummy col: 11 length: 0 span_id: 16 line: (SourceLine line_num:1 content:'flagX_bang ' src:(source.MainFile path:'')) tval: '' ) ] )] display_pos 11 Completing 'flagX_bang ' ... (Ctrl-C to cancel) Found 2 matches for 'flagX_bang ' in 1 ms words: {}{} redirects: tokens: alias_words: Running completion function 'complete_mywords' with 3 arguments line: 'flagX_prefix ' rl_slice from byte 0 to 13: 'flagX_prefix ' Completing words partial_argv: [flagX_prefix,] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_CompDummy col: 13 length: 0 span_id: 20 line: (SourceLine line_num:1 content:'flagX_prefix ' src:(source.MainFile path:'')) tval: '' ) ] )] display_pos 13 Completing 'flagX_prefix ' ... (Ctrl-C to cancel) Found 2 matches for 'flagX_prefix ' in 1 ms words: {}{ } redirects: tokens: alias_words: Running completion function 'complete_mywords' with 3 arguments line: 'prefix_plusdirs b' rl_slice from byte 0 to 17: 'prefix_plusdirs b' Completing words partial_argv: [prefix_plusdirs,b] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 16 length: 1 span_id: 24 line: (SourceLine line_num: 1 content: 'prefix_plusdirs b' src: (source.MainFile path:'') ) tval: b ) (Token id: Id.Lit_CompDummy col: 17 length: 0 span_id: 25 line: (SourceLine line_num: 1 content: 'prefix_plusdirs b' src: (source.MainFile path:'') ) tval: '' ) ] )] display_pos 16 Completing 'prefix_plusdirs b' ... (Ctrl-C to cancel) Found 1 match for 'prefix_plusdirs b' in 1 ms words: {}{ } redirects: tokens: alias_words: Running completion function 'complete_mywords' with 3 arguments line: 'flagX_plusdirs b' rl_slice from byte 0 to 16: 'flagX_plusdirs b' Completing words partial_argv: [flagX_plusdirs,b] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 15 length: 1 span_id: 29 line: (SourceLine line_num:1 content:'flagX_plusdirs b' src:(source.MainFile path:'')) tval: b ) (Token id: Id.Lit_CompDummy col: 16 length: 0 span_id: 30 line: (SourceLine line_num:1 content:'flagX_plusdirs b' src:(source.MainFile path:'')) tval: '' ) ] )] display_pos 15 Completing 'flagX_plusdirs b' ... (Ctrl-C to cancel) Found 0 matches for 'flagX_plusdirs b' in 1 ms words: {}{ } redirects: tokens: alias_words: . ---------------------------------------------------------------------- Ran 16 tests in 0.302s OK line: 'prefix_dirnames b' rl_slice from byte 0 to 17: 'prefix_dirnames b' Completing words partial_argv: [prefix_dirnames,b] alias_words: [[]] words[-1]: [(compound_word parts: [ (Token id: Id.Lit_Chars col: 16 length: 1 span_id: 34 line: (SourceLine line_num: 1 content: 'prefix_dirnames b' src: (source.MainFile path:'') ) tval: b ) (Token id: Id.Lit_CompDummy col: 17 length: 0 span_id: 35 line: (SourceLine line_num: 1 content: 'prefix_dirnames b' src: (source.MainFile path:'') ) tval: '' ) ] )] display_pos 16 Completing 'prefix_dirnames b' ... (Ctrl-C to cancel) Found 0 matches for 'prefix_dirnames b' in 0 ms