Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
First comments on top threads
HN comment orderI wonder if having the search use context like cwd is a win in practice or not. I’ll have to try this out to see. I’ve been using `history | grep` since forever (usually `history | grep foo | tail -n 5` which has been a single-character alias for more than 30 years). Hard to beat. Since history gives you the line number you can just `!12345` — no need to copy/paste, and works through an ssh connection!
TIL I can use ctrl+R to search bash history! This is going to save me a lot of time going forward!
Regarding if [[ -r "$(brew --prefix)/opt/mcfly/mcfly.zsh" ]]; then source "$(brew --prefix)/opt/mcfly/mcfly.zsh" fi Tip: hardcode brew --prefix. It's /usr/local for most people anyway. brew is written in Ruby so invocations are expensive; brew --prefix takes ~30ms on my systems so the above snippet adds ~60ms to shell startup which is a complete waste. Add a couple of frivolous snippets like this and you have people complaining about slow startup.
Nice tool, I will give it a try!
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
- Breakout years
- 2
- Total points
- 482
- Total comments
- 181
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2018-12-03 | Show HN: McFly, a smart Bash history search CLI in Rust with a neural networkFirst breakout | tectonic | 130 | 56 |
| 2020-05-28 | McFly – Fly through your shell history | bluehatbrit | 1 | 0 |
| 2020-07-07 | Mcfly – neural-network powered directory and context-aware shell history search | yankcrime | 93 | 28 |
| 2022-03-02 | McFly – fly through your shell history | cute_boi | 2 | 1 |
| 2022-04-12 | GitHub – cantino/mcfly: Fly through your shell history. Great Scott | oweiler | 1 | 0 |
| 2022-12-09 | McFly: Fly through your shell history | ingve | 2 | 0 |
| 2023-04-08 | Mcfly: Fly through your shell history. Great Scott | nateb2022 | 9 | 0 |
| 2024-01-12 | Fly through your shell historyBest thread · Latest 20+ point return | lovestaco | 244 | 96 |
