Also handy in bashrc
*Unlimited history
'HISTSIZE=-1
HISTFILESIZE=-1'
*Update history immediately.
'shopt -s histappend'
*Ignore commands prefaced with space & remove duplicates
'HISTCONTROL=ignoreboth'
Wow so you can share the history across multiple sessions this way?
Please Login to reply.
Yes, history from one will immediately be available in another this way 👍
I always thought you needed fish of zsh to do that. One day I will be a real Linux user!