Files
coredesktop/bitwarden.sh
2026-05-02 06:01:02 -06:00

11 lines
293 B
Bash

#!/bin/bash
LINE="export SSH_AUTH_SOCK=/home/$USER/.var/app/com.bitwarden.desktop/data/.bitwarden-ssh-agent.sock"
if grep -qF "$LINE" ~/.bashrc; then
echo "Bitwarden SSH agent already configured in .bashrc"
else
echo "$LINE" >> ~/.bashrc
echo "Bitwarden SSH agent added to .bashrc"
fi