diff options
Diffstat (limited to '.bashrc')
| -rw-r--r-- | .bashrc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -5,12 +5,13 @@ export PAGER=less export EDITOR=vim -export HISTIGNORE='sudo id:uname:date:exit:df:ll:ls:ps:pwd:top:history' +export HISTIGNORE='sudo id:uname:date:exit:df:ll:ls:ps:pwd:tc:top:history' export HISTCONTROL=ignoreboth:erasedups # no start space and duplicate entries export HISTSIZE=100000 # big big history export HISTFILESIZE=100000 # big big history -shopt -s histappend # append to history, don't overwrite it stty -ixon # disable Ctrl-S +shopt -s histappend # append to history, don't overwrite it +shopt -s globstar p() { [ -f "$1" -a ! -x "$1" ] && less -XF $1 || "$@" 2>&1 | less -XF ; } export -f p |
