diff options
Diffstat (limited to '')
-rw-r--r-- | bashrc | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -138,12 +138,17 @@ _find_tagged () } # ssh - from https://wiki.archlinux.org/title/SSH_keys#SSH_agents -if ! pgrep -u "$USER" ssh-agent > /dev/null; then - ssh-agent -t 1h > "$XDG_RUNTIME_DIR/ssh-agent.env" -fi -if [[ ! -f "$SSH_AUTH_SOCK" ]]; then - source "$XDG_RUNTIME_DIR/ssh-agent.env" >/dev/null -fi +# if ! pgrep -u "$USER" ssh-agent > /dev/null; then +# ssh-agent -t 1h > "$XDG_RUNTIME_DIR/ssh-agent.env" +# fi +# if [[ ! -f "$SSH_AUTH_SOCK" ]]; then +# source "$XDG_RUNTIME_DIR/ssh-agent.env" >/dev/null +# fi + +eval "$(ssh-agent -s)" +ssh-add ~/.ssh/id_ed25519 # Add your key manually +# add other ssh-add lines for other keys if necessary! + # bind '"\C-r": "\C-x1\e^\er"' # bind -x '"\C-x1": __fzf_history'; |