If I start a regular login session and run my command,
sshb servername, it works fine! The background image loads and the SSH session starts.
However, if I set up a profile to start a session with that same command, it errors out and says it can't find
sshb. If I make my command
~/.bin/sshb servername, it runs the command, but says it can't find the ImageMagick
convert command used in that script.
It seems as though the command shell command doesn't know about my
$PATH. I suppose I could figure out where
convert lives and edit the script to use the full path, but that seems to be treating symptoms, not the problem. Is there a way to make the command shell load my environment variables before it runs that command?