From a97bf2cab6ce4d6592b02adca5e78e0739a7297a Mon Sep 17 00:00:00 2001 From: Alexander Karle Date: Thu, 4 Oct 2018 22:49:52 -0400 Subject: [PATCH] [bash] minor updates 1. history ignore to ignore frequently used commands that don't need storing 2. alias to get to my .vim folder! --- bash/aliases | 2 ++ bash/bashrc | 3 +++ 2 files changed, 5 insertions(+) diff --git a/bash/aliases b/bash/aliases index 2ae8632..3754b40 100644 --- 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 index 0026d48..d943c78 100644 --- 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 -- libgit2 0.28.4