diff .bash_profile @ 257:98c08bf73f5a

Not sure how I borked that when I did a pull before I started...
author Steve Huston <huston@srhuston.net>
date Thu, 28 Mar 2024 19:29:27 -0400
parents 2bc70f7910fa
children 857bf32fbaab
line wrap: on
line diff
--- a/.bash_profile	Thu Mar 28 19:26:06 2024 -0400
+++ b/.bash_profile	Thu Mar 28 19:29:27 2024 -0400
@@ -65,6 +65,13 @@
 fi
 hg status
 
+[[ $HOST == penguin && -z "$SSH_AUTH_SOCK" ]] && {
+  # We're probably on a ChromeOS container with no ssh-agent running yet, so
+  # let's start one and exit when it ends.
+  ssh-agent bash
+  exit
+}
+
 [[ $HOST == cake && "`tty`" == "/dev/tty1" ]] && {
   # We're on the Raspberry Pi
   export SDL_NOMOUSE=1