Update agent name

This commit is contained in:
Marco Thomas
2021-07-29 12:13:53 +02:00
parent 15a56b200a
commit 03f2f0b8b4
3 changed files with 5 additions and 5 deletions

View File

@@ -23,9 +23,9 @@ alias cp='cp -i' # ask before removal
alias mv='mv -i' # ask before removal
# ============================== SSH-Agent
if ! [ -S /tmp/marc-agent.sock ]; then
if ! [ -S /tmp/mthomas-agent.sock ]; then
echo "Starting ssh-agent"
ssh-agent -a /tmp/marc-agent.sock
ssh-agent -a /tmp/mthomas-agent.sock
ssh-add
fi

View File

@@ -4,7 +4,7 @@
export PATH=$PATH:$HOME/scripts:$HOME/.cargo/bin:$HOME/.cabal/bin:$HOME/.ghcup/bin:$HOME/.local/bin
# ssh
export SSH_AUTH_SOCK=/tmp/marc-agent.sock
export SSH_AUTH_SOCK=/tmp/mthomas-agent.sock
# editor
export EDITOR="vim"

View File

@@ -99,9 +99,9 @@ export HISTFILE="$HOME/.zsh_history"
export SAVEHIST=5000
# ============================== ssh-agent
if ! [ -S /tmp/marc-agent.sock ]; then
if ! [ -S /tmp/mthomas-agent.sock ]; then
echo "Starting ssh-agent"
ssh-agent -a /tmp/marc-agent.sock
ssh-agent -a /tmp/mthomas-agent.sock
ssh-add
fi