Start ssh-agent and auth with radicle

Amolith created

Change summary

dot_config/zsh/private_dot_zshrc.tmpl | 6 ++++++
1 file changed, 6 insertions(+)

Detailed changes

dot_config/zsh/private_dot_zshrc.tmpl 🔗

@@ -148,6 +148,9 @@ export BW_SESSION="{{ .bw_session }}"
 # Authenticate to OpenAI
 export OPENAI_API_KEY="{{- .openai_api_key -}}"
 
+# Authenticate to local Radicle (.xyz) node
+export RAD_PASSWORD="{{ (bitwarden "item" "ded65872-71a1-4cdd-8e13-b12a00f84163").login.password }}"
+
 #HYPHEN_INSENSITIVE="true"
 # Uncomment the following line if pasting URLs and other text is messed up.
 # DISABLE_MAGIC_FUNCTIONS=true
@@ -217,6 +220,9 @@ _call_navi() {
 zle -N _call_navi
 bindkey '^n' _call_navi
 
+# SSH Agent setup
+eval $(ssh-agent)
+
 zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate
 zstyle ':completion:*' group-name ''
 zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}