[{"data":1,"prerenderedAt":239},["ShallowReactive",2],{"project-21278630":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":36,"aspects":37,"strip":43,"post_text":45,"what":46,"said":80,"maker_in_thread":141,"shape":149,"grid":152,"attempts":199,"same_week":200,"maker_shows":230,"maker_hidden":231,"reader_version":232,"card":233},"21278630","sixarm_zsh_config","Z shell configuration, zsh startup files, when they load, what they do","title","Show HN: Z shell configuration, zsh startup files, when they load, what they do","https:\u002F\u002Fgithub.com\u002FSixArm\u002Fsixarm_zsh_config","github.com","jph",1571282172,2019,85,22,568,2195,26,"notable","learning_science","shell configuration guide","other",[24,25,26,27,28],"zsh","zshenv","shell startup files","load order","dotfiles","curious",0.059,{"positive":32,"neutral":33,"mixed":34,"critical":35},3,7,0,1,11,{"docs":38,"idea":40,"performance":41,"execution":42},{"positive":39,"critical":34},2,{"positive":34,"critical":34},{"positive":34,"critical":35},{"positive":35,"critical":34},[34,44,32,44,35,34,34,34,34,34,34,34,34,32,32,32,32,34,32,34,44,32],5,null,{"problem":47,"audience":54,"pricing":45,"motivation":61,"time_to_build":45,"stack":69,"openness":77,"stage":78,"team_size":79},{"value":48,"source":49,"evidence":50},"Users new to zsh don't know the startup file load order or what belongs in each file","maker",[51],{"id":52,"by":11,"text":53},"21278634","This repo README may be helpful to people who are new to Z shell, and want to know the load order, and what's good to put in each file. I'm the repo maintainer and I welcome…",{"value":55,"source":49,"evidence":56},"People new to Z shell, and developers switching from bash to zsh after macOS Catalina",[57,58],{"id":52,"by":11,"text":53},{"id":59,"by":11,"text":60},"21279872","Yes in a way; we work with both bash and zsh, and have a similar repos for config files. We are experiencing many developers switching from bash to zsh because of the recent…",{"value":62,"source":49,"evidence":63},"Help developers configure zsh and bash similarly after the Catalina upgrade",[64,65],{"id":59,"by":11,"text":60},{"id":66,"by":67,"text":68},"21281727","bloopernova","Just to let you know that I'm forwarding this around to a bunch of folks I know and\u002For work with, to help them get to grips with `zsh` due to Catalina upgrades. Thank you for…",[70,73],{"value":24,"source":49,"evidence":71},[72],{"id":52,"by":11,"text":53},{"value":74,"source":49,"evidence":75},"bash",[76],{"id":59,"by":11,"text":60},"open_source","launched","team",{"praise":81,"objections":91,"requests":99,"questions":106,"alternatives":118},[82],{"value":83,"source":84,"evidence":85},"Clear, well-written docs on what goes in each file","commenter",[86,90],{"id":87,"by":88,"text":89},"21281982","an_d_rew","OMG Thank you! I’ve only read the first quarter, but excellent job... the extreme clarity is hugely awesome! “What goes in it” and “what does not go in it” thank you thank you…",{"id":66,"by":67,"text":68},[92],{"value":93,"source":84,"evidence":94},"Personal website linked from the repo does not load",[95],{"id":96,"by":97,"text":98},"21293653","wodenokoto","Your website, http:\u002F\u002Fsixarm.com doesn't load. It simply times out.",[100],{"value":101,"source":84,"evidence":102},"A linter or checker for zsh startup file style",[103],{"id":104,"by":67,"text":105},"21281897","Oh, a thought occurs to me: With the rules being set out for \"put this but not that\" into `.zshenv` and other files, would it be possible to write a linter or checking tool to…",[107],{"value":108,"source":84,"evidence":109},"Whether PATH should be guarded against duplicate entries in nested shells",[110,114],{"id":111,"by":112,"text":113},"21280362","rucikir","If something like `export PATH=\"aa:$PATH\"` is written in `.zshenv`, as the file is sourced even for nested zsh sessions, a new `aa` will be prepended for each zsh level. Consider…",{"id":115,"by":116,"text":117},"21281248","soraminazuki","‘typeset -U path’ would be a more simple alternative.",[119,134],{"value":120,"source":84,"evidence":121},"oh-my-zsh and zplug\u002Fzplugin plugin managers",[122,126,130],{"id":123,"by":124,"text":125},"21285874","curiousbiped","I'd do that as a zsh plugin. If you do one that's oh-my-zsh compatible, it'll work with most of the frameworks, and you can install it by hand if you're running bare ZSH. Then…",{"id":127,"by":128,"text":129},"21281149","tombh","Tangential, but I recently got a massive speed up in my zplug-based load time with a simple `touch $ZPLUG_LOADFILE`. More discussion here: https:\u002F\u002Fgithub.com\u002Fzplug\u002Fzplug\u002Fissues\u002F368",{"id":131,"by":132,"text":133},"21288269","Seirdy","If you want even better startup speed, try `zplugin`[0]. It can load plugins asynchrously after your shell starts up, or after you type the first few characters of a command.…",{"value":135,"source":84,"evidence":136},"yadm for dotfile management",[137],{"id":138,"by":139,"text":140},"21280474","mfontani","I like the fact that I can put ~\u002F.config under VCS more easily than I can put ~\u002F under a VCS. OTOH, I've recently (months) started to use yadm[1] and seeing that it maybe doesn't…",{"comments":142,"answered":35,"key":143},4,[144,145,148],{"id":52,"text":53},{"id":146,"text":147},"21279773","Fully agree. In fact, we use these XDG helper functions. ``` data_home() { printf %s\\\\n \"${XDG_DATA_HOME:=$HOME\u002F.local\u002Fshare}\" ; } cache_home() { printf %s\\\\n…",{"id":59,"text":60},{"commenters":150,"max_depth":142,"maker_replies":142,"first_comment_mins":39,"lifespan_hours":151},14,39,[153,155,157,159,160,162,166,168,170,172,175,176,178,179,181,182,184,187,189,193,196,198],[52,34,34,154,11,35],"maker\u002Fneutral\u002Fdocs",[66,34,44,156,67,34],"maker\u002Fpositive\u002Fdocs",[104,34,32,158,67,34],"project\u002Fneutral\u002Fidea",[87,34,44,156,88,34],[96,34,35,161,97,34],"maker\u002Fcritical\u002Fperformance",[163,35,34,164,165,34],"21280153","other\u002Fneutral\u002Fnone","4ad",[167,39,34,164,139,34],"21279493",[146,39,34,169,11,35],"maker\u002Fpositive\u002Fnone",[171,39,34,164,165,34],"21280095",[173,39,34,164,174,34],"21280310","half-kh-hacker",[138,39,34,164,139,34],[127,32,34,177,128,34],"other\u002Fneutral\u002Fperformance",[131,32,34,177,132,34],[111,142,32,180,112,34],"project\u002Fneutral\u002Fexecution",[115,142,32,180,116,34],[183,142,32,180,67,34],"21283480",[185,44,32,158,186,34],"21279679","toyg",[59,44,34,188,11,35],"maker\u002Fneutral\u002Fidea",[190,44,32,191,192,34],"21280129","maker\u002Fneutral\u002Fexecution","opk",[194,44,34,195,11,35],"21280182","maker\u002Fpositive\u002Fexecution",[197,44,44,195,67,34],"21281190",[123,44,32,191,124,34],[],[201,206,210,215,220,225],{"id":202,"name":203,"points":204,"category":205},"21307888","docker-nginx-http3",219,"infrastructure",{"id":207,"name":208,"points":209,"category":20},"21282699","Magic Sandbox",180,{"id":211,"name":212,"points":213,"category":214},"21293941","Blackjack Break",132,"games",{"id":216,"name":217,"points":218,"category":219},"21330500","Glaze",120,"creative",{"id":221,"name":222,"points":223,"category":224},"21335366","Trip Planner",110,"dev_tools",{"id":226,"name":227,"points":228,"category":229},"21309518","Eole",106,"languages",12,false,"v2",{"id":234,"name":5,"line":6,"ai":231,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":235,"top":18,"kw":236,"maker":11,"domain":10,"tier":19,"attempts":34,"strip":237,"url":9,"mix":238,"praise":83,"objection":93,"sub":21},21278630,0.06,[24,25,26,27,28],"0535100000000333303053",[32,33,34,35],1794036582060]