<commit_before>#!/bin/sh
# ssh-agent - Take in the ssh-agent(1) environment variables.

# ...without creating duplicate agents!
if ! [ -f "${XDG_RUNTIME_DIR}"/ssh-agent.sh ] \
    || [ -z "${SSH_AGENT_PID}" ] \
    || ! kill -0 "${SSH_AGENT_PID}"; then
    ssh-agent | grep -v '^echo' >"${XDG_RUNTIME_DIR}"/ssh-agent.sh
fi

. "${XDG_RUNTIME_DIR}"/ssh-agent.sh
ssh-add -q<commit_msg>profile/ssh-agent: make filename nicer for if XDG_RUNTIME_DIR is /tmp<commit_after>#!/bin/sh
# ssh-agent - Take in the ssh-agent(1) environment variables.

# ...without creating duplicate agents!
_ssh_agent_uid=$(id -u)
if ! [ -f "${XDG_RUNTIME_DIR}"/ssh-agent-"${_ssh_agent_uid}".sh ] \
    || [ -z "${SSH_AGENT_PID}" ] \
    || ! kill -0 "${SSH_AGENT_PID}"; then
    ssh-agent | grep -v '^echo' >"${XDG_RUNTIME_DIR}"/ssh-agent-"${_ssh_agent_uid}".sh
fi

. "${XDG_RUNTIME_DIR}"/ssh-agent-"${_ssh_agent_uid}".sh
ssh-add -q

unset -v _ssh_agent_uid
{'fraction_non_alphanumeric': 0.20021528525296017, 'fraction_numerical': 0.004305705059203444, 'mean_word_length': 3.769230769230769, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6013875', 'n_tokens_mistral': 419, 'n_tokens_neox': 379, 'n_words': 72}