commit a97bf2cab6ce4d6592b02adca5e78e0739a7297a (patch)
parent b0533f16d5f3ffa14f9577fd20e49c30a036aa11
Author: Alexander Karle <akarle@umass.edu>
Date: Thu, 4 Oct 2018 22:49:52 -0400
[bash] minor updates
1. history ignore to ignore frequently used commands
that don't need storing
2. alias to get to my .vim folder!
Diffstat:
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/bash/aliases b/bash/aliases
@@ -31,3 +31,5 @@ if [ -x "$(command -v nvim)" ]; then
alias vi="nvim"
alias vim="nvim"
fi
+
+alias cddv='cd ~/.vim'
diff --git a/bash/bashrc b/bash/bashrc
@@ -22,6 +22,9 @@ shopt -s histappend
HISTSIZE=10000
HISTFILESIZE=20000
+# ignore certain commands
+HISTIGNORE=fg:pwd:ls
+
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize