From 03f2f0b8b4a3e1015a533601a96ebdbfb1c81c44 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Thu, 29 Jul 2021 12:13:53 +0200 Subject: [PATCH] Update agent name --- files/.bashrc | 4 ++-- files/.profile | 2 +- files/.zshrc | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/files/.bashrc b/files/.bashrc index c503f5c..b5bd514 100644 --- a/files/.bashrc +++ b/files/.bashrc @@ -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 diff --git a/files/.profile b/files/.profile index aa2a763..9dcd3bd 100755 --- a/files/.profile +++ b/files/.profile @@ -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" diff --git a/files/.zshrc b/files/.zshrc index 22da2d0..956f520 100644 --- a/files/.zshrc +++ b/files/.zshrc @@ -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