2066 shaares
  
  
148 private links
148 private links
        1 result
        
        
          
          tagged
          
              
                
                  tmux
                
              
          
        
        
        
      
    Garder son historique bash synchro entre les différents terminaux.
En tant qu'utilisateur intensif de tmux, je dis MERCI.
--> dans le .bashrc
Avoid duplicates
export HISTCONTROL=ignoredups:erasedups
When the shell exits, append to the history file instead of overwriting it
shopt -s histappend
After each command, append to the history file and reread it
export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r
 
