what problems have you run into with history in your shell? so far I have these, what am I missing?
- screwing up a command & getting that stuck in the history.
- history getting truncated (would love more details about why this happened to you! was it HISTSIZE? something else?)
- can't access history from other open terminals
- accidentally putting (or not putting!) a space at the beginning of a command
(please only problems related to history, and let me know which shell you're using!)
@b0rk Also history not being truncated or something like this. At least mksh is weird when it reaches HISTSIZE, but at least you can get history from other terminals using the same HISTFILE.
So periodically I end up doing a mv $HISTFILE "${HISTFILE}.pre-$(date -u +%FT%TZ)"
- replies
- 1
- announces
- 0
- likes
- 0