diff options
Diffstat (limited to 'linhes/linhes-dev/lh_setup_dev.sh')
-rwxr-xr-x | linhes/linhes-dev/lh_setup_dev.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linhes/linhes-dev/lh_setup_dev.sh b/linhes/linhes-dev/lh_setup_dev.sh index 1e535a6..f0cc94c 100755 --- a/linhes/linhes-dev/lh_setup_dev.sh +++ b/linhes/linhes-dev/lh_setup_dev.sh @@ -45,12 +45,11 @@ if ! grep -q 'ssh-agent >' ~/.bashrc; then cat >> ~/.bashrc<<END if ! pgrep -u "\$USER" ssh-agent > /dev/null; then ssh-agent > "\$XDG_RUNTIME_DIR/ssh-agent.env" - ssh-add -q fi if [[ ! -f "\$SSH_AUTH_SOCK" ]]; then source "\$XDG_RUNTIME_DIR/ssh-agent.env" >/dev/null fi -ssh-add +ssh-add -q END fi |