summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index c35c04f..2991c10 100644
--- a/bashrc
+++ b/bashrc
@@ -12,6 +12,10 @@
shopt -s histappend # append to history instead of overwriting
shopt -s checkwinsize # check/update window dimenstions
+# enable vi mode
+set -o vi
+bind -m vi-insert 'Control-l: clear-screen'
+
if [ "`id -u`" -eq 0 ]; then
# some aliases to avoid making mistakes:
alias rm='rm -i'