(CommandList children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} { (DQ (BracedVarSub token: <VSub_Name BASH_SOURCE> bracket_op: (ArrayIndex expr:(ArithWord w:{(Lit_Digits 0)})) spids: [9 14] ) ) } {(KW_Bang '!') (Lit_Other '=')} {(DQ )} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:current_script_path spids:[29]) op: Equal rhs: { (DQ (BracedVarSub token: <VSub_Name BASH_SOURCE> bracket_op: (ArrayIndex expr:(ArithWord w:{(Lit_Digits 0)})) spids: [31 36] ) ) } spids: [29] ) ] spids: [29] ) ] spids: [16777215 26] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:current_script_path spids:[42]) op: Equal rhs: {(DQ ($ VSub_Number '$0'))} spids: [42] ) ] spids: [42] ) ] spids: [39 47] ) (C {(export)} {(ASDF_DIR)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ASDF_DIR spids:[54]) op: Equal rhs: { (DQ (CommandSubPart command_list: (CommandList children: [ (Sentence child: (AndOr ops: [Op_DPipe] children: [ (SimpleCommand words: [ {(cd)} { (DQ (CommandSubPart command_list: (CommandList children: [ (C {(dirname)} {(DQ ($ VSub_Name '$current_script_path'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [60 66] ) ) } ] redirects: [ (Redir op: <Redir_AndGreat '&>'> fd: 16777215 arg_word: {(/dev/null)} ) ] ) (ControlFlow token: <ControlFlow_Exit exit> arg_word: {(1)} ) ] ) terminator: <Op_Semi ';'> ) (C {(pwd)}) ] ) left_token: <Left_CommandSub '$('> spids: [56 81] ) ) } spids: [54] ) ] spids: [54] ) (C {(export)} {(Lit_VarLike 'PATH=') (DQ (${ VSub_Name ASDF_DIR) ('/bin:') (${ VSub_Name ASDF_DIR) ('/shims:') ($ VSub_Name '$PATH')) } ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_Name '$ZSH_VERSION'))} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [(C {(autoload)} {(-U)} {(bashcompinit)}) (C {(bashcompinit)})] spids: [16777215 113] ) ] spids: [16777215 125] ) ] )