Move ssh-agent configs around
This commit is contained in:
parent
9077461ea8
commit
bb0cdc7969
@ -1 +1,3 @@
|
|||||||
alias ll="ls -Flah --color=always"
|
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
|
# Need to check what happens if this is not installed
|
||||||
CERT_PATH=$(python -m certifi)
|
CERT_PATH=$(python -m certifi)
|
||||||
export SSL_CERT_FILE=${CERT_PATH}
|
export SSL_CERT_FILE=${CERT_PATH}
|
||||||
export REQUESTS_CA_BUNDLE=${CERT_PATH}
|
export REQUESTS_CA_BUNDL=${CERT_PATH}
|
||||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
|
||||||
gpgconf --launch gpg-agent
|
|
||||||
|
|||||||
@ -3,8 +3,10 @@
|
|||||||
SCRIPTPATH=$HOME/.config/dotfiles/zsh
|
SCRIPTPATH=$HOME/.config/dotfiles/zsh
|
||||||
ZSH_CACHE_DIR="$HOME/.cache/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 GPG_TTY="$(tty)"
|
||||||
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
|
gpgconf --launch gpg-agent
|
||||||
|
|
||||||
# google cloud sdk
|
# google cloud sdk
|
||||||
if [[ -a "/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc" ]]; then
|
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