I'm using Ubuntu's Startup Applications feature to run a script at startup. The script looks like this:
#! /bin/bash
dropBoxDevDir=/home/mitch/Dropbox/dev
set -e
yakuake &
python $dropBoxDevDir/scripts/ysess -i $dropBoxDevDir/configs/yakuake.ini
ssh-add
The idea is to:
- Run
yakuake - Run the
ysessscript to open some tabs in Yakuake - Run
ssh-addso that I can perform Git operations later on
The problem is that ssh-add doesn't seem to get run. How can I figure out why it doesn't get run?
Alternatively, is there a better way to run ssh-add after the other two commands have finished?