From d7ed05c35e9808899a7b500f761335ba514b0643 Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Mon, 12 Apr 2021 09:44:42 +0100 Subject: [PATCH] bash: add nvm.bash and gpg.bash --- bashrc.d/gpg.bash | 3 +++ bashrc.d/nvm.bash | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 bashrc.d/gpg.bash create mode 100644 bashrc.d/nvm.bash diff --git a/bashrc.d/gpg.bash b/bashrc.d/gpg.bash new file mode 100644 index 0000000..2db011b --- /dev/null +++ b/bashrc.d/gpg.bash @@ -0,0 +1,3 @@ +GPG_TTY=$(tty) +export GPG_TTY + diff --git a/bashrc.d/nvm.bash b/bashrc.d/nvm.bash new file mode 100644 index 0000000..acc6ed5 --- /dev/null +++ b/bashrc.d/nvm.bash @@ -0,0 +1,3 @@ +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion