Hacker News new | past | comments | ask | show | jobs | submit login

I've known this since the start of my using unix shells, but it's almost useless. For example, if fzf or whichever plugin I'm using shows me the number, why would I need it when I'm going to use the list it has presented? I certainly wouldn't cancel it and use the number, nor would I type the number when I have the choice of banging one key repeatedly, or adding characters I can see in the command to narrow the search even more.

Some features just aren't worth the time.




In nushell you can use it to look up more detail about that command:

     > history | get 81201
    ╭─────────────────┬─────────────────────────────╮
    │ start_timestamp │ 2025-03-26 05:16:58.184 UTC │
    │ command         │ echo hello world            │
    │ cwd             │ /Users/matt                 │
    │ duration        │ 1ms                         │
    │ exit_status     │ 0                           │
    ╰─────────────────┴─────────────────────────────╯
It's nice for confirming a suspicion that something is now slower than it used to be.


That's fair, I might have to change my ideas ;-)




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: