Move ssh-agent configs around
This commit is contained in:
parent
9077461ea8
commit
bb0cdc7969
@ -1 +1,3 @@
|
||||
alias ll="ls -Flah --color=always"
|
||||
eval `ssh-agent -s`
|
||||
ssh-add -L
|
||||
|
||||
@ -4,6 +4,4 @@ alias rsyncdir="rsync -az --progress"
|
||||
# Need to check what happens if this is not installed
|
||||
CERT_PATH=$(python -m certifi)
|
||||
export SSL_CERT_FILE=${CERT_PATH}
|
||||
export REQUESTS_CA_BUNDLE=${CERT_PATH}
|
||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
gpgconf --launch gpg-agent
|
||||
export REQUESTS_CA_BUNDL=${CERT_PATH}
|
||||
|
||||
@ -3,8 +3,10 @@
|
||||
SCRIPTPATH=$HOME/.config/dotfiles/zsh
|
||||
ZSH_CACHE_DIR="$HOME/.cache/zsh"
|
||||
|
||||
# Let GPG know which tty we're using
|
||||
# Let GPG know which tty we're using and put in charge of SSH auth
|
||||
export GPG_TTY="$(tty)"
|
||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
gpgconf --launch gpg-agent
|
||||
|
||||
# google cloud sdk
|
||||
if [[ -a "/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc" ]]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user