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
|
alias mv='mv -i' # ask before removal
|
||||||
|
|
||||||
# ============================== SSH-Agent
|
# ============================== SSH-Agent
|
||||||
if ! [ -S /tmp/marc-agent.sock ]; then
|
if ! [ -S /tmp/mthomas-agent.sock ]; then
|
||||||
echo "Starting ssh-agent"
|
echo "Starting ssh-agent"
|
||||||
ssh-agent -a /tmp/marc-agent.sock
|
ssh-agent -a /tmp/mthomas-agent.sock
|
||||||
ssh-add
|
ssh-add
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
export PATH=$PATH:$HOME/scripts:$HOME/.cargo/bin:$HOME/.cabal/bin:$HOME/.ghcup/bin:$HOME/.local/bin
|
export PATH=$PATH:$HOME/scripts:$HOME/.cargo/bin:$HOME/.cabal/bin:$HOME/.ghcup/bin:$HOME/.local/bin
|
||||||
|
|
||||||
# ssh
|
# ssh
|
||||||
export SSH_AUTH_SOCK=/tmp/marc-agent.sock
|
export SSH_AUTH_SOCK=/tmp/mthomas-agent.sock
|
||||||
|
|
||||||
# editor
|
# editor
|
||||||
export EDITOR="vim"
|
export EDITOR="vim"
|
||||||
|
|||||||
@@ -99,9 +99,9 @@ export HISTFILE="$HOME/.zsh_history"
|
|||||||
export SAVEHIST=5000
|
export SAVEHIST=5000
|
||||||
|
|
||||||
# ============================== ssh-agent
|
# ============================== ssh-agent
|
||||||
if ! [ -S /tmp/marc-agent.sock ]; then
|
if ! [ -S /tmp/mthomas-agent.sock ]; then
|
||||||
echo "Starting ssh-agent"
|
echo "Starting ssh-agent"
|
||||||
ssh-agent -a /tmp/marc-agent.sock
|
ssh-agent -a /tmp/mthomas-agent.sock
|
||||||
ssh-add
|
ssh-add
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user