diff options
| author | Marc Vertes <mvertes@free.fr> | 2024-12-14 17:06:32 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2024-12-14 17:06:32 +0100 |
| commit | 7138f485299e110f59bfea1bc0deda82750104e2 (patch) | |
| tree | 7a69d8e1b93e5509082eed7d5ef07895b7707cd5 /.bashrc | |
| parent | b930dfe9226df393dbb98862b55a339533bb6439 (diff) | |
update
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 |
