Update agent name
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user