added history clearing in bashrc
This commit is contained in:
parent
0d45edf465
commit
820f08e2c2
1 changed files with 3 additions and 0 deletions
|
|
@ -9,6 +9,9 @@ set -o vi
|
||||||
bind -m vi-command 'Control-l: clear-screen'
|
bind -m vi-command 'Control-l: clear-screen'
|
||||||
bind -m vi-insert 'Control-l: clear-screen'
|
bind -m vi-insert 'Control-l: clear-screen'
|
||||||
|
|
||||||
|
# clears the history copletely upon loading bash
|
||||||
|
cat /dev/null > ~/.bash_history && history -c
|
||||||
|
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
colors() {
|
colors() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue