bitwarden agent configure
This commit is contained in:
10
bitwarden.sh
Normal file
10
bitwarden.sh
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/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
|
||||||
@@ -68,4 +68,7 @@ install_packages "${FONTS[@]}"
|
|||||||
echo "Checking for new flatpaks..."
|
echo "Checking for new flatpaks..."
|
||||||
. install-flatpaks.sh
|
. install-flatpaks.sh
|
||||||
|
|
||||||
echo "Done. You probably want to reboot your system..."
|
echo "Configuring Bitwarden SSH agent..."
|
||||||
|
. bitwarden.sh
|
||||||
|
|
||||||
|
echo "Done."
|
||||||
|
|||||||
@@ -147,6 +147,10 @@ cd ~/.local/share/coredesktop
|
|||||||
echo "Installing Kickstart Neovim..."
|
echo "Installing Kickstart Neovim..."
|
||||||
. install-kickstart-nvim.sh
|
. install-kickstart-nvim.sh
|
||||||
|
|
||||||
|
# Configure Bitwarden SSH agent
|
||||||
|
echo "Configuring Bitwarden SSH agent..."
|
||||||
|
. bitwarden.sh
|
||||||
|
|
||||||
# Add the current user to the docker group and start the Docker daemon
|
# Add the current user to the docker group and start the Docker daemon
|
||||||
sudo usermod -aG docker $USER
|
sudo usermod -aG docker $USER
|
||||||
newgrp docker
|
newgrp docker
|
||||||
|
|||||||
Reference in New Issue
Block a user