Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
qwertygnu
on Jan 21, 2024
|
parent
|
context
|
favorite
| on:
Keeping a long shell history
Perhaps an edge case, but what about all the commands you mistype or use the wrong flags for etc. If I want to recall a niche or complex command I used months ago I probably won't remember which of the 10 results that pop up was the right one.
BeetleB
on Jan 21, 2024
|
next
[–]
You can set your shell not to store commands that returned an error exit code.
mvc
on Jan 21, 2024
|
prev
[–]
Usually the most recent one is the one with all the kinks ironed out.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: