J
Joe Jagger
code.joejag.com · Personal blog · on HN since 2009
Joe Jagger writes about software craft, covering Java, shells like Zsh and PowerShell, testing habits, and coding katas.
What HN saysHN commenters link it in discussions of Zsh features and PowerShell's typed-object pipelines, where it serves as a reference for shell tips.
17HN people shared it
2linked it in comments
32stories submitted
882story points
6 years agolast shared
2009people per year2026
Most-shared posts
- 1Anti-If: The missing patterns (2016)4 people · 362 points · first shared 2016 · 229 comments on HN
- 2Two Months with Powershell on a Unix3 people · 144 points · first shared 2020 · 108 comments on HN
- 3My favourite Zsh features3 people · 142 points · first shared 2014 · 43 comments on HN
- 4Tracking where your time went with Lego workstream visualisation3 people · 130 points · first shared 2018 · 31 comments on HN
- 5The Text Editing Kata2 people · 4 points · first shared 2016 · discussion on HN
- 6Your two blank line budget for tests2 people · 4 points · first shared 2018 · discussion on HN
- 7The origin of soft skills2 people · 3 points · first shared 2018 · discussion on HN
- 8New language features in Java 71 people · 64 points · first shared 2009 · 47 comments on HN
- 9Everyday Git Aliases1 people · 6 points · first shared 2013 · 3 comments on HN
- 10Diversity of thought and tech conferences1 people · 4 points · first shared 2013 · 4 comments on HN
- 11Making BDD more than tooling1 people · 3 points · first shared 2018 · discussion on HN
- 12Three little questions to save your new job before it starts1 people · 2 points · first shared 2018 · discussion on HN
- 13An example driven guide to regular expression1 people · 2 points · first shared 2013 · discussion on HN
- 14Agile in a Box1 people · 2 points · first shared 2019 · discussion on HN
- 15Make Selenium tests illuminating by saving the browser log and a screenshot1 people · 2 points · first shared 2018 · discussion on HN
What HN people wrote when they linked it
chrisshroba · 2016-03-23
To add to this, zsh (or maybe just oh-my-zsh) has tab complete for globbing, so if you type
echo foo/bar/*.py
and hit tab, it will automatically expand into
echo foo/bar/quux.py foo/bar/quux2.py foo/bar/quux3.py
(assuming quux.py, quux2.py, and quux3.py are the only 3 python files in foo/bar/) This way, you can preview all the files that you are affecting before actually hitting enter and running the command.
You can also recursively glob by doing
echo foo/bar/**/*.py
which will find all .py files in foo/bar and any subdirectories
It's definitely worth installing and trying for an hour, you can decide if you like it or not!
Here are more cool features! (Not my website)
http://code.joejag.com/2014/why-zsh.html
ohthehugemanate · 2020-12-12
This is exactly the idea behind Powershell. You don't pipe strings between commands, you pipe typed objects etc etc. I'm convinced that if it had better support on Linux it would usher in a new age if shells. As it is though, it would be hard to use it as a daily driver.[1]
[1] https://code.joejag.com/2020/a-month-with-powershell.html