#!/bin/sh

DIR="$(pwd -P $0)/ssh"

echo "🔐 Setting up SSH."

if ! test -d ~/.ssh; then
  ln -s $(pwd) ~/.ssh
fi

op_get 2i3kib6vtrae3jm3skpbv4xc5u .ssh/id_ecdsa
op_get kbqovo5pojhpvfljo27fpgor7y .ssh/id_rsa

echo "🔐 Storing SSH keys in keychain..."
ssh-add -K

#!/bin/sh

DIR="$(pwd -P $0)/ssh"

echo "🔐 Setting up SSH."

if [ -n "$CODESPACES" ]; then
  echo "🔐 Already setup on Codespaces!"
  exit 0
fi

if ! test -d ~/.ssh; then
  ln -s $(pwd) ~/.ssh
fi

op_get 2i3kib6vtrae3jm3skpbv4xc5u .ssh/id_ecdsa
op_get kbqovo5pojhpvfljo27fpgor7y .ssh/id_rsa

echo "🔐 Storing SSH keys in keychain..."
ssh-add -K

Revert "Maybe not idk 🤷"
Revert "Maybe not idk 🤷"

This reverts commit 42f6a970f2895eeff5847a413da9725d9f95f458.
