summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2022-12-07 14:53:33 +0100
committerMarc Vertes <mvertes@free.fr>2022-12-07 14:53:33 +0100
commit7883e56fadc6c8be32c455b69fd43dedb95c9d20 (patch)
tree03426bce79b7806ec39cf6e174eb6b735c2c7e79 /.bashrc
parent4489efe4b753a2edfad646c4b3506c95f2348813 (diff)
update
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 926f90e..adafe27 100644
--- a/.bashrc
+++ b/.bashrc
@@ -5,7 +5,7 @@
export PAGER=less
export EDITOR=vim
-export HISTIGNORE=ls:ps:history
+export HISTIGNORE='sudo id:uname:date:exit:df:ll:ls:ps:pwd:top:history'
export HISTCONTROL=ignoreboth:erasedups # no start space and duplicate entries
export HISTSIZE=100000 # big big history
export HISTFILESIZE=100000 # big big history
@@ -147,3 +147,6 @@ eval "$(direnv hook bash)"
#export GITHUB_TOKEN=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
set -o vi
+bind -m vi-command ".":insert-last-argument
+bind -m vi-command 'Control-l: clear-screen'
+bind -m vi-insert 'Control-l: clear-screen'