(command.AndOr ops: [Id.Op_DAmp] children: [ (command.ShFunction name: _fbi body: (command.BraceGroup children: [ (C {(local)} {(cur)} {(prev)} {(words)} {(cword)}) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {(_init_completion)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:26) ) ] ) (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$prev'))} arms: [ (case_arm pat_list: [{(-l)} {(--list)}] action: [ (C {(_filedir)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:48) ) ] spids: [39 42 51 -1] ) (case_arm pat_list: [{(-r)} {(--resolution)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.PlusEqual rhs: { (sh_array_literal left: (Token id:Id.Op_LParen val:'(' span_id:61) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:63) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ (Token id:Id.Lit_Chars val:'{1..5}' span_id:70))} ) ] ) ) } ] ) } spids: [60] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:78) ) ] spids: [54 57 81 -1] ) (case_arm pat_list: [{(-f)} {(--font)}] action: [ (C {(local)} {(Id.Lit_VarLike 'IFS=') (single_quoted left: (Token id:Id.Left_SingleQuoteC val:"$'" span_id:93) tokens: [(Token id:Id.Char_OneChar val:'\\n' span_id:94)] ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: (Token id:Id.Op_LParen val:'(' span_id:99) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:101) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: '$( fc-list 2> /dev/null )' span_id: 108 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [98] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:122) ) ] spids: [84 87 125 -1] ) (case_arm pat_list: [{(-m)} {(--mode)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: (Token id:Id.Op_LParen val:'(' span_id:135) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:137) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: '$( sed \\\n' span_id: 144 ) (Token id: Id.Lit_Chars val: ' -n "/^mode/{s/^mode \\{1,\\}\\"\\([^\\"]\\{1,\\}\\)\\"/\\1/g;p}" \\\n' span_id: 145 ) (Token id:Id.Lit_Chars val:' /etc/fb.modes 2> /dev/null )' span_id:146) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [134] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:160) ) ] spids: [128 131 163 -1] ) (case_arm pat_list: [{(-d)} {(--device)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: (Token id:Id.Op_LParen val:'(' span_id:173) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:175) command_list: (command.CommandList children: [ (C {(compgen)} {(-f)} {(-d)} {(--)} { (DQ (braced_var_sub token: (Token id: Id.VSub_Name val: cur span_id: 187 ) suffix_op: (suffix_op.Unary op_id: Id.VTest_ColonHyphen arg_word: {(Id.Lit_Slash /) (dev) (Id.Lit_Slash /)} ) ) ) } ) ] ) ) } ] ) } spids: [172] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:200) ) ] spids: [166 169 203 -1] ) (case_arm pat_list: [ {(--cachemem)} {(--blend)} {(-T)} {(--vt)} {(-s)} {(--scroll)} {(-t)} {(--timeout)} {(-g)} {(--gamma)} ] action: [ (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:232) ) ] spids: [206 225 235 -1] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {(DQ ($ Id.VSub_DollarName '$cur'))} right: {(-) (Id.Lit_Other '*')} ) ) terminator: (Token id:Id.Op_Semi val:';' span_id:256) ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: (Token id:Id.Op_LParen val:'(' span_id:262) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:264) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: '--help --version --store --list --text\n' span_id: 271 ) (Token id: Id.Lit_Chars val: ' --autozoom --{,no}autoup --{,no}autodown --{,no}fitwidth\n' span_id: 272 ) (Token id: Id.Lit_Chars val: ' --{,no}verbose --{,no}random --{,no}comments --{,no}edit\n' span_id: 273 ) (Token id: Id.Lit_Chars val: ' --{,no}backup --{,no}preserve --{,no}readahead --cachemem --blend\n' span_id: 274 ) (Token id: Id.Lit_Chars val: ' --vt --scroll --timeout --{,no}once --resolution --gamma --font\n' span_id: 275 ) (Token id:Id.Lit_Chars val:' --device --mode' span_id:276) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [261] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DBracket expr: (bool_expr.WordTest w:{($ Id.VSub_DollarName '$COMPREPLY')}) ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:298) ) ] ) ] spids: [242 258] ) ] ) (C {(_filedir)} { (SQ (Token id: Id.Lit_Chars val: 'bmp|gif|jp?(e)g|pcd|png|p[pgb]m|tif?(f)|webp|xpm|xwd|?(e)ps|pdf|dvi|txt|svg?(z)|cdr|[ot]tf' span_id: 316 ) ) } ) ] ) ) (C {(complete)} {(-F)} {(_fbi)} {(fbi)}) ] )