3 ms·
? Command history is a property of the shell and pdksh supports it, it just isn't enabled if HISTFILE is unset (other shells use a default HISTFILE if it's uns
by masklinn 12y ago
?
Command history is a property of the shell and pdksh supports it, it just isn't enabled if HISTFILE is unset (other shells use a default HISTFILE if it's unset).
Just `export HISTFILE=~/.sh_history` from your `.profile` and you're done.
- tedunangst 12y agoProbably worth clarifying that even without histfile, each shell will keep its own history in memory. You can still run commands again by pressing the up arrow. Seems obvious, but people seem to have some funny notions about OpenBSD.