diff --git a/.bin/setup-environment b/.bin/setup-environment index 2c42755..bbac807 100755 --- a/.bin/setup-environment +++ b/.bin/setup-environment @@ -5,6 +5,8 @@ source ~/.path eval "$(gnome-keyring-daemon --start)" # gnome-keyring with PAM +export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh" # gcr-ssh-agent.socket + /usr/bin/systemctl --user import-environment PATH NODE_PATH SSH_AUTH_SOCK /usr/bin/systemctl --user start environment.target /usr/bin/systemctl --user start ready.timer diff --git a/.config/fish/exports.fish b/.config/fish/exports.fish index 4845de1..1aa0809 100644 --- a/.config/fish/exports.fish +++ b/.config/fish/exports.fish @@ -53,7 +53,8 @@ set -x FZF_ALT_C_OPTS "--preview 'ls -la {} | head -$LINES'" # ssh-agent socket #set -x SSH_AUTH_SOCK "${XDG_RUNTIME_DIR}/ssh-agent.socket" # ssh-agent.service -set -x SSH_AUTH_SOCK (gnome-keyring-daemon --start 2>/dev/null | awk -F "=" '$1 == "SSH_AUTH_SOCK" { print $2 }') # gnome-keyring with PAM +#set -x SSH_AUTH_SOCK (gnome-keyring-daemon --start 2>/dev/null | awk -F "=" '$1 == "SSH_AUTH_SOCK" { print $2 }') # gnome-keyring with PAM +set -x SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/gcr/ssh" # gcr-ssh-agent.socket # ipe styles if test -d $HOME/.ipe/styles diff --git a/.exports b/.exports index e598485..3437ddb 100644 --- a/.exports +++ b/.exports @@ -66,8 +66,9 @@ export FZF_ALT_C_OPTS # ssh-agent socket #export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket" # ssh-agent.service -eval $(gnome-keyring-daemon --start 2>/dev/null) # gnome-keyring with PAM -export SSH_AUTH_SOCK # gnome-keyring with PAM +#eval $(gnome-keyring-daemon --start 2>/dev/null) # gnome-keyring with PAM +#export SSH_AUTH_SOCK # gnome-keyring with PAM +export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/gcr/ssh" # gcr-ssh-agent.socket # ipe styles if [ -d "$HOME/.ipe/styles" ] ; then