aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2017-11-20 13:57:14 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2017-11-20 13:57:14 +0100
commit8aca50b28e3465783dba5f11db053107b10767c2 (patch)
tree56a05f0b0adc6b748af5766b3bfc5a91eb75e1b3
parent90cd3d025c9cbb29cca372a75aa4210d85347b9d (diff)
downloaddotfiles-8aca50b28e3465783dba5f11db053107b10767c2.tar.gz
dotfiles-8aca50b28e3465783dba5f11db053107b10767c2.zip
bash: updated flag passed to ag
Recent versions of ag switched from `--path-to-agignore` to `--path-to-ignore`. Moreover, this commit also adds a minor environment variable affecting the NodeJS bundled in openSUSE Leap. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
-rw-r--r--bashrc8
1 files changed, 5 insertions, 3 deletions
diff --git a/bashrc b/bashrc
index 89fe9f6..95fb4b2 100644
--- a/bashrc
+++ b/bashrc
@@ -104,14 +104,16 @@ fi
# Some other misc. alias.
alias iosc="osc -A https://api.suse.de"
-alias ag='ag --nocolor --path-to-agignore ~/.agignore'
+alias ag='ag --nocolor --path-to-ignore ~/.agignore'
# Cargo environment.
source_maybe $HOME/.cargo/env
# SUSE
-export SALT_DIR="~/Projects/kubic-project/salt"
-export SALT_PATH="~/Projects/kubic-project/salt"
+export SALT_DIR="$HOME/Projects/kubic-project/salt"
+export SALT_PATH="$HOME/Projects/kubic-project/salt"
+
+export NODE_VERSION="6"
# Finally RVM requires it to be the last thing on the PATH for whatever reason.
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"