On 22/07/2020 22:40, Gary Dale wrote:
My only complaint/wishlist is that after a reboot, the tabs no longer
have independent command histories.
That's down to the shell, not konsole. konsole doesn't keep a history of
your commands.
As an aside, I use $PROMPT_COMMAND to log bash history to one file per
day in ~/.Bashlogs like so:
PROMPT_COMMAND=if [ "$(id -u)" -ne 0 ]; then echo "$(date
"+%Y-%m-%d.%H:%M:%S") $(pwd) $(history 1)" >>
~/.BashLogs/bash-history-$(date "+%Y-%m-%d").log; fi
Being able to grep though these logs and know when I did something and
what directory I was in can be a livesaver at times.
There is a long list of other approaches here:
https://unix.stackexchange.com/questions/1288/preserve-bash-history-in-multiple-terminal-windows
alexd