From 13531681aa457a28247487bff617bd1fb1f0b7eb Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Mon, 20 Mar 2023 12:20:27 +0000 Subject: [PATCH] Move yarn; add SSH_AUTH_SOCK to sec1 --- bashrc | 2 ++ bashrc.d/local/stbbri-sec-1.bash | 3 ++- bashrc.d/yarn.bash | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index 210d261..c69909e 100644 --- a/bashrc +++ b/bashrc @@ -92,5 +92,7 @@ if [ -f ${HOME}/.bashrc.d/local/${HOSTNAME}.bash ] ; then source ${HOME}/.bashrc.d/local/${HOSTNAME}.bash fi +# export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket" + # Fig post block. Keep at the bottom of this file. [[ -f "$HOME/.fig/shell/bashrc.post.bash" ]] && builtin source "$HOME/.fig/shell/bashrc.post.bash" diff --git a/bashrc.d/local/stbbri-sec-1.bash b/bashrc.d/local/stbbri-sec-1.bash index 040c9df..ceb5b8e 100644 --- a/bashrc.d/local/stbbri-sec-1.bash +++ b/bashrc.d/local/stbbri-sec-1.bash @@ -3,7 +3,6 @@ if [ -x /usr/bin/dircolors ]; then alias grep='grep --color=auto' fi -# export PATH=$HOME/.local/bin:$PATH addpath $HOME/.local/bin # some more ls aliases @@ -55,3 +54,5 @@ PERL5LIB="$HOME/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; PERL_LOCAL_LIB_ROOT="$HOME/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; PERL_MB_OPT="--install_base \"$HOME/perl5\""; export PERL_MB_OPT; PERL_MM_OPT="INSTALL_BASE=$HOME/perl5"; export PERL_MM_OPT; + +export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket" diff --git a/bashrc.d/yarn.bash b/bashrc.d/yarn.bash index fe7247a..860cc60 100644 --- a/bashrc.d/yarn.bash +++ b/bashrc.d/yarn.bash @@ -1 +1,2 @@ -export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" +addpath "$HOME/.yarn/bin" +addpath "$HOME/.config/yarn/global/node_modules/.bin"