comparison .bashrc @ 285:f62fb9579277

Changing irc alias a little due to how docker exits; update histignore
author Steve Huston <huston@srhuston.net>
date Tue, 16 Jul 2024 22:22:44 -0400
parents df0b24d4fabd
children
comparison
equal deleted inserted replaced
284:2b513df62dd4 285:f62fb9579277
63 # Ignore lines starting with a space, and duplicates of the previous command; 63 # Ignore lines starting with a space, and duplicates of the previous command;
64 # also, if a line is a dupe from earlier history, remove the previous line 64 # also, if a line is a dupe from earlier history, remove the previous line
65 # entirely 65 # entirely
66 export HISTCONTROL='ignoreboth:erasedups' 66 export HISTCONTROL='ignoreboth:erasedups'
67 # Ignore some commonly used and not noteworthy commands 67 # Ignore some commonly used and not noteworthy commands
68 export HISTIGNORE='bg:fg:jobs:history:ret:rbh:rj:rx:keys:ssh-add*:jobs:proxy*' 68 export HISTIGNORE='bg:fg:jobs:history:ret:irc:rbh:rj:rx:keys:ssh-add*:jobs:proxy*'
69 # Put a timestamp on history lines 69 # Put a timestamp on history lines
70 export HISTTIMEFORMAT='%F %T ' 70 export HISTTIMEFORMAT='%F %T '
71 # Fold multi-line commands into a single line 71 # Fold multi-line commands into a single line
72 # This seems to be 'on' in many places already, but let's make sure 72 # This seems to be 'on' in many places already, but let's make sure
73 shopt -s cmdhist 73 shopt -s cmdhist