(command.AndOr ops: [Id.Op_DAmp] children: [ (command.ShFunction name: _feh body: (command.BraceGroup children: [ (C {<local>} {<cur>} {<prev>} {<words>} {<cword>} {<split>}) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<_init_completion>} {<-s>}) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] ) (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$prev'))} arms: [ (case_arm pat_list: [{<-B>} {<--image-bg>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {<compgen>} {<-W>} {(SQ <'checks white black'>)} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [49] ) ] ) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [43 46 76 -1] ) (case_arm pat_list: [ {<-f>} {<--filelist>} {<-o>} {<--output>} {<-O>} {<--output-only>} {<-> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\|'>)} {<--start-at>} ] action: [(C {<_filedir>}) (command.ControlFlow token:<Id.ControlFlow_Return return>)] spids: [79 95 104 -1] ) (case_arm pat_list: [{<-K>} {<--caption-path>} {<-C>} {<--fontpath>} {<-j>} {<--output-dir>}] action: [ (C {<_filedir>} {<-d>}) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [107 118 129 -1] ) (case_arm pat_list: [ {<-e>} {<--font>} {<-M>} {<--menu-font>} {<-> <Id.Lit_Other '@'>} {<--title-font>} ] action: [ (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 '*'> </> <Id.Lit_Other '*'>} ) ) terminator: <Id.Op_Semi _> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {<compgen>} {<-P>} {(DQ ($ Id.VSub_DollarName '$cur'))} {<-W>} {(SQ <'{0..9}'>)} ) ] ) ) } ] ) } spids: [174] ) ] ) (C {<compopt>} {<-o>} {<nospace>}) (command.ControlFlow token: <Id.ControlFlow_Return return> ) ] spids: [151 168] ) ] ) (C {<local>} {<font_path>}) (command.ForExpr init: (arith_expr.BinaryAssign op_id: Id.Arith_Equal left: (sh_lhs_expr.Name name:i) right: (arith_expr.Binary op_id: Id.Arith_Minus left: (arith_expr.ArithWord w: { (braced_var_sub token: <Id.VSub_Name words> prefix_op: (Id.VSub_Pound) bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) ) } ) right: (arith_expr.ArithWord w:{<Id.Lit_Digits 1>}) ) ) cond: (arith_expr.Binary op_id: Id.Arith_Great left: (arith_expr.VarRef token:<Id.Lit_ArithVarLike i>) right: (arith_expr.ArithWord w:{<Id.Lit_Digits 0>}) ) update: (arith_expr.UnaryAssign op_id: Id.Node_PostDMinus child: (sh_lhs_expr.Name name:i) ) body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: { (braced_var_sub token: <Id.VSub_Name words> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.VarRef token: <Id.Lit_ArithVarLike i> ) ) ) } right: {<-> (word_part.ExtGlob op: <Id.ExtGlob_At '@('> arms: [{<C>} {<-fontpath>}] ) } ) ) terminator: <Id.Op_Semi _> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:font_path) op: assign_op.Equal rhs: { (DQ (braced_var_sub token: <Id.VSub_Name words> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.Binary op_id: Id.Arith_Plus left: (arith_expr.VarRef token: <Id.Lit_ArithVarLike i> ) right: (arith_expr.ArithWord w: {<Id.Lit_Digits 1>} ) ) ) ) ) } spids: [286] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.PlusEqual rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (command.Sentence child: (command.Simple words: [ {<cd>} { (DQ ($ Id.VSub_DollarName '$font_path' ) ) } ] redirects: [ (redir.Redir op: <Id.Redir_Great '2>'> fd: 2 arg_word: {</dev/null>} ) ] ) terminator: <Id.Op_Semi _> ) (C {<compgen>} {<-f>} {<-X>} {(DQ <'!*.@([tT][tT][fF])'>)} {<-S>} {</>} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [299] ) ] ) ] spids: [260 283] ) ] ) ] ) ) (C {<compopt>} {<-o>} {<nospace>}) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [132 144 358 -1] ) (case_arm pat_list: [{<-T>} {<--theme>}] action: [ (C {<local>} {<Id.Lit_VarLike 'conf_path='> <Id.Lit_TildeLike '~'> </.config/feh/themes>} ) (C {<local>} {<theme_name>} {<theme_opts>}) (command.AndOr ops: [Id.Op_DPipe] children: [ (command.DBracket expr: (bool_expr.Unary op_id: Id.BoolUnary_r child: {($ Id.VSub_DollarName '$conf_path')} ) ) (command.ControlFlow token: <Id.ControlFlow_Return return> ) ] ) (command.WhileUntil keyword: <Id.KW_While while> cond: [ (command.Sentence child: (C {<read>} {<theme_name>} {<theme_opts>}) terminator: <Id.Op_Semi _> ) ] body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.LogicalOr left: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {(DQ ($ Id.VSub_DollarName '$theme_name'))} right: {(SQ <'#'>) <Id.Lit_Other '*'>} ) right: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {(DQ ($ Id.VSub_DollarName '$theme_name'))} right: {(DQ )} ) ) ) terminator: <Id.Op_Semi _> ) ] action: [ (command.ControlFlow token: <Id.ControlFlow_Continue continue> ) ] spids: [406 435] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.PlusEqual rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {<compgen>} {<-W>} {(DQ ($ Id.VSub_DollarName '$theme_name'))} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [444] ) ] ) ] ) redirects: [ (redir.Redir op: <Id.Redir_Less '<'> fd: -1 arg_word: {(DQ ($ Id.VSub_DollarName '$conf_path'))} ) ] ) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [361 364 480 -1] ) (case_arm pat_list: [{<-S>} {<--sort>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {<compgen>} {<-W>} { (SQ <'name filename mtime width height\n'> <' pixels size format'> ) } {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [489] ) ] ) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [483 486 517 -1] ) (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.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.PlusEqual rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [(C {<compgen>} {<-W>} {(SQ <'{0..9}'>)})] ) ) } ] ) } spids: [554] ) ] ) (C {<compopt>} {<-o>} {<nospace>}) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [520 547 582 -1] ) (case_arm pat_list: [{<--zoom>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {<compgen>} {<-W>} {(SQ <'max fill'>)} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } 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:{($ Id.VSub_DollarName '$cur')}) ) right: (bool_expr.LogicalNot child: (bool_expr.WordTest w: {($ Id.VSub_DollarName '$COMPREPLY')} ) ) ) ) terminator: <Id.Op_Semi _> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.PlusEqual rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [(C {<compgen>} {<-W>} {(SQ <'{0..9}'>)})] ) ) } ] ) } spids: [637] ) ] ) (C {<compopt>} {<-o>} {<nospace>}) ] spids: [617 634] ) ] ) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [585 586 668 -1] ) (case_arm pat_list: [{<-a>} {<--alpha>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {<compgen>} {<-W>} {(SQ <'{0..255}'>)} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [677] ) ] ) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [671 674 704 -1] ) (case_arm pat_list: [{<-b>} {<--bg>}] action: [ (C {<_filedir>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.PlusEqual rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {<compgen>} {<-W>} {(SQ <trans>)} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [716] ) ] ) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [707 710 743 -1] ) (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:{($ Id.VSub_DollarName '$cur')}) right: (bool_expr.Binary op_id: Id.BoolBinary_GlobNEqual left: {(DQ ($ Id.VSub_DollarName '$cur'))} right: {<Id.Lit_Other '*'> <x> <Id.Lit_Other '*'>} ) ) ) terminator: <Id.Op_Semi _> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: {(sh_array_literal left:<Id.Op_LParen _> words:[{<x>}])} spids: [784] ) ] ) ] spids: [760 781] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.PlusEqual rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [(C {<compgen>} {<-W>} {(DQ <'{0..9}'>)})] ) ) } ] ) } spids: [795] ) ] ) (C {<compopt>} {<-o>} {<nospace>}) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] spids: [746 753 823 -1] ) (case_arm pat_list: [ {<-L>} {<--customlist>} {<--index-info>} {<--info>} {<-D>} {<--slideshow-delay>} {<-> <Id.Lit_TildeLike '~'>} {<--thumb-title>} {<-> <Id.Lit_Other '^'>} {<--title>} ] action: [(command.ControlFlow token:<Id.ControlFlow_Return return>)] spids: [826 849 859 -1] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {($ Id.VSub_DollarName '$split')}) (command.ControlFlow token:<Id.ControlFlow_Return return>) ] ) (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: <Id.Op_Semi _> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {<compgen>} {<-W>} {(SQ <'$( _parse_help "$1" --help )'>)} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [893] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {($ Id.VSub_DollarName '$COMPREPLY')} right: {<Id.Lit_Other '*'> <Id.BoolBinary_GlobEqual '='>} ) ) (C {<compopt>} {<-o>} {<nospace>}) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DBracket expr: (bool_expr.WordTest w:{($ Id.VSub_DollarName '$COMPREPLY')}) ) (command.ControlFlow token: <Id.ControlFlow_Return return> ) ] ) ] spids: [874 890] ) ] ) (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' > ) } ) ] ) ) (C {<complete>} {<-F>} {<_feh>} {<feh>}) ] )