(command.AndOr ops: [Op_DAmp] children: [ (command.FuncDef name: _feh body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:cur spids:[13]) op: Equal spids: [13] ) (assign_pair lhs: (lhs_expr.LhsName name:prev spids:[15]) op: Equal spids: [15] ) (assign_pair lhs: (lhs_expr.LhsName name:words spids:[17]) op: Equal spids: [17] ) (assign_pair lhs: (lhs_expr.LhsName name:cword spids:[19]) op: Equal spids: [19] ) (assign_pair lhs: (lhs_expr.LhsName name:split spids:[21]) op: Equal spids: [21] ) ] spids: [11] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(_init_completion)} {(-s)}) (command.ControlFlow token:<ControlFlow_Return return>) ] ) (command.Case to_match: {(DQ ($ VSub_DollarName '$prev'))} arms: [ (case_arm pat_list: [{(-B)} {(--image-bg)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[49]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'checks white black'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [52 68] ) } ] ) } spids: [49] ) ] spids: [49] ) (command.ControlFlow token:<ControlFlow_Return return>) ] spids: [43 46 76 16777215] ) (case_arm pat_list: [ {(-f)} {(--filelist)} {(-o)} {(--output)} {(-O)} {(--output-only)} {(-) (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\|'>)} {(--start-at)} ] action: [(C {(_filedir)}) (command.ControlFlow token:<ControlFlow_Return return>)] spids: [79 95 104 16777215] ) (case_arm pat_list: [{(-K)} {(--caption-path)} {(-C)} {(--fontpath)} {(-j)} {(--output-dir)}] action: [ (C {(_filedir)} {(-d)}) (command.ControlFlow token:<ControlFlow_Return return>) ] spids: [107 118 129 16777215] ) (case_arm pat_list: [ {(-e)} {(--font)} {(-M)} {(--menu-font)} {(-) (Lit_Other '@')} {(--title-font)} ] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_DollarName '$cur'))} right: {(Lit_Other '*') (/) (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[174]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-P)} {(DQ ($ VSub_DollarName '$cur'))} {(-W)} {(SQ <'{0..9}'>)} ) ] ) left_token: <Left_CommandSub '$('> spids: [177 193] ) } ] ) } spids: [174] ) ] spids: [174] ) (C {(compopt)} {(-o)} {(nospace)}) (command.ControlFlow token: <ControlFlow_Return return> ) ] spids: [16777215 168] ) ] spids: [16777215 208] ) (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:font_path spids:[213]) op: Equal spids: [213] ) ] spids: [211] ) (command.ForExpr init: (arith_expr.BinaryAssign op_id: Arith_Equal left: (lhs_expr.LhsName name:i spids:[232]) right: (arith_expr.ArithBinary op_id: Arith_Minus left: (arith_expr.ArithWord w: { (word_part.BracedVarSub token: <VSub_Name words> prefix_op: VSub_Pound bracket_op: (bracket_op.WholeArray op_id:Lit_At) spids: [234 240] ) } ) right: (arith_expr.ArithWord w:{(Lit_Digits 1)}) ) ) cond: (arith_expr.ArithBinary op_id: Arith_Great left: (arith_expr.ArithVarRef token:<Lit_ArithVarLike i>) right: (arith_expr.ArithWord w:{(Lit_Digits 0)}) ) update: (arith_expr.UnaryAssign op_id: Node_PostDMinus child: (lhs_expr.LhsName name:i spids:[250]) ) body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: { (word_part.BracedVarSub token: <VSub_Name words> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithVarRef token: <Lit_ArithVarLike i> ) ) spids: [264 269] ) } right: {(-) (word_part.ExtGlobPart op: <ExtGlob_At '@('> arms: [{(C)} {(-fontpath)}] spids: [274 278] ) } ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:font_path spids:[286]) op: Equal rhs: { (DQ (word_part.BracedVarSub token: <VSub_Name words> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithBinary op_id: Arith_Plus left: (arith_expr.ArithVarRef token: <Lit_ArithVarLike i> ) right: (arith_expr.ArithWord w: {(Lit_Digits 1)} ) ) ) spids: [288 295] ) ) } spids: [286] ) ] spids: [286] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[299]) op: PlusEqual rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Sentence child: (command.SimpleCommand words: [ {(cd)} { (DQ ($ VSub_DollarName '$font_path' ) ) } ] redirects: [ (redir.Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) terminator: <Op_Semi ';'> ) (C {(compgen)} {(-f)} {(-X)} {(DQ ('!*.@([tT][tT][fF])'))} {(-S)} {(/)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [302 337] ) } ] ) } spids: [299] ) ] spids: [299] ) ] spids: [16777215 283] ) ] spids: [16777215 342] ) ] spids: [257 345] ) ) (C {(compopt)} {(-o)} {(nospace)}) (command.ControlFlow token:<ControlFlow_Return return>) ] spids: [132 144 358 16777215] ) (case_arm pat_list: [{(-T)} {(--theme)}] action: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:conf_path spids:[369]) op: Equal rhs: {(word_part.TildeSubPart token:<Lit_TildeLike '~'>) (/.config/feh/themes) } spids: [369] ) ] spids: [367] ) (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:theme_name spids:[376]) op: Equal spids: [376] ) (assign_pair lhs: (lhs_expr.LhsName name:theme_opts spids:[378]) op: Equal spids: [378] ) ] spids: [374] ) (command.AndOr ops: [Op_DPipe] children: [ (command.DBracket expr: (bool_expr.BoolUnary op_id: BoolUnary_r child: {($ VSub_DollarName '$conf_path')} ) ) (command.ControlFlow token: <ControlFlow_Return return> ) ] ) (command.WhileUntil keyword: <KW_While while> cond: [ (command.Sentence child: (C {(read)} {(theme_name)} {(theme_opts)}) terminator: <Op_Semi ';'> ) ] body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.LogicalOr left: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_DollarName '$theme_name'))} right: {(SQ <'#'>) (Lit_Other '*')} ) right: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_DollarName '$theme_name'))} right: {(DQ )} ) ) ) terminator: <Op_Semi ';'> ) ] action: [(command.ControlFlow token:<ControlFlow_Continue continue>)] spids: [16777215 435] ) ] spids: [16777215 441] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[444]) op: PlusEqual rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(DQ ($ VSub_DollarName '$theme_name'))} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [447 463] ) } ] ) } spids: [444] ) ] spids: [444] ) ] spids: [403 468] ) redirects: [ (redir.Redir op: <Redir_Less '<'> fd: 16777215 arg_word: {(DQ ($ VSub_DollarName '$conf_path'))} ) ] ) (command.ControlFlow token:<ControlFlow_Return return>) ] spids: [361 364 480 16777215] ) (case_arm pat_list: [{(-S)} {(--sort)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[489]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ <'name filename mtime width height\n'> <' pixels size format'> ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [492 509] ) } ] ) } spids: [489] ) ] spids: [489] ) (command.ControlFlow token:<ControlFlow_Return return>) ] spids: [483 486 517 16777215] ) (case_arm pat_list: [ {(-R)} {(--reload)} {(-H)} {(--limit-height)} {(-W)} {(--limit-width)} {(-E)} {(--thumb-height)} {(-y)} {(--thumb-width)} {(-J)} {(--thumb-redraw)} {(--magick-timeout)} ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[554]) op: PlusEqual rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(compgen)} {(-W)} {(SQ <'{0..9}'>)})] ) left_token: <Left_CommandSub '$('> spids: [557 567] ) } ] ) } spids: [554] ) ] spids: [554] ) (C {(compopt)} {(-o)} {(nospace)}) (command.ControlFlow token:<ControlFlow_Return return>) ] spids: [520 547 582 16777215] ) (case_arm pat_list: [{(--zoom)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[593]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'max fill'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [596 612] ) } ] ) } spids: [593] ) ] spids: [593] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.LogicalOr left: (bool_expr.LogicalNot child: (bool_expr.WordTest w:{($ VSub_DollarName '$cur')}) ) right: (bool_expr.LogicalNot child: (bool_expr.WordTest w: {($ VSub_DollarName '$COMPREPLY')} ) ) ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[637]) op: PlusEqual rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(compgen)} {(-W)} {(SQ <'{0..9}'>)})] ) left_token: <Left_CommandSub '$('> spids: [640 650] ) } ] ) } spids: [637] ) ] spids: [637] ) (C {(compopt)} {(-o)} {(nospace)}) ] spids: [16777215 634] ) ] spids: [16777215 662] ) (command.ControlFlow token:<ControlFlow_Return return>) ] spids: [585 586 668 16777215] ) (case_arm pat_list: [{(-a)} {(--alpha)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[677]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'{0..255}'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [680 696] ) } ] ) } spids: [677] ) ] spids: [677] ) (command.ControlFlow token:<ControlFlow_Return return>) ] spids: [671 674 704 16777215] ) (case_arm pat_list: [{(-b)} {(--bg)}] action: [ (C {(_filedir)}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[716]) op: PlusEqual rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <trans>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [719 735] ) } ] ) } spids: [716] ) ] spids: [716] ) (command.ControlFlow token:<ControlFlow_Return return>) ] spids: [707 710 743 16777215] ) (case_arm pat_list: [{(-g)} {(--geometry)} {(--max-dimension)} {(--min-dimension)}] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.LogicalAnd left: (bool_expr.WordTest w:{($ VSub_DollarName '$cur')}) right: (bool_expr.BoolBinary op_id: BoolBinary_GlobNEqual left: {(DQ ($ VSub_DollarName '$cur'))} right: {(Lit_Other '*') (x) (Lit_Other '*')} ) ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[784]) op: Equal rhs: {(word_part.ArrayLiteralPart words:[{(x)}])} spids: [784] ) ] spids: [784] ) ] spids: [16777215 781] ) ] spids: [16777215 792] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[795]) op: PlusEqual rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(compgen)} {(-W)} {(DQ ('{0..9}'))})] ) left_token: <Left_CommandSub '$('> spids: [798 808] ) } ] ) } spids: [795] ) ] spids: [795] ) (C {(compopt)} {(-o)} {(nospace)}) (command.ControlFlow token:<ControlFlow_Return return>) ] spids: [746 753 823 16777215] ) (case_arm pat_list: [ {(-L)} {(--customlist)} {(--index-info)} {(--info)} {(-D)} {(--slideshow-delay)} {(-) (Lit_TildeLike '~')} {(--thumb-title)} {(-) (Lit_Other '^')} {(--title)} ] action: [(command.ControlFlow token:<ControlFlow_Return return>)] spids: [826 849 859 16777215] ) ] spids: [34 40 862] ) (command.AndOr ops: [Op_DAmp] children: [ (C {($ VSub_DollarName '$split')}) (command.ControlFlow token:<ControlFlow_Return return>) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_DollarName '$cur'))} right: {(-) (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[893]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'$( _parse_help "$1" --help )'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [896 912] ) } ] ) } spids: [893] ) ] spids: [893] ) (command.AndOr ops: [Op_DAmp] children: [ (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_DollarName '$COMPREPLY')} right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')} ) ) (C {(compopt)} {(-o)} {(nospace)}) ] ) (command.AndOr ops: [Op_DAmp] children: [ (command.DBracket expr: (bool_expr.WordTest w:{($ VSub_DollarName '$COMPREPLY')}) ) (command.ControlFlow token: <ControlFlow_Return return> ) ] ) ] spids: [16777215 890] ) ] spids: [16777215 948] ) (C {(_filedir)} { (SQ < 'xpm|tif?(f)|png|p[npgba]m|iff|?(i)lbm|jp?(e)g|jfi?(f)|gif|bmp|arg?(b)|tga|xcf|ani|ico|?(e)ps|pdf|dvi|txt|svg?(z)|cdr|[ot]tf' > ) } ) ] spids: [8] ) spids: [4 7] ) (C {(complete)} {(-F)} {(_feh)} {(feh)}) ] )