I'm trying to make this work, but I think I have a more fundamental problem.
bbedit doesn't seem to be sourcing ~/.profile or ~/.bashrc before it runs.
I tested this by writing a short perl script to dump my environment.
Run in bbedit,
$VAR1 = {
'BB_DOC_NAME' => 'test.pl',
'HOME' => '/Users/mkramer',
'COMMAND_MODE' => 'unix2003',
'DISPLAY' => '/tmp/launch-YGGcAx/org.x:0',
'BB_DOC_MODE' => 'perl',
'VERSIONER_PERL_PREFER_32_BIT' => 'no',
'BB_DOC_LANGUAGE' => 'Perl',
'BB_DOC_SELEND' => '70',
'SSH_AUTH_SOCK' => '/tmp/launch-ttVlfb/Listeners',
'Apple_PubSub_Socket_Render' => '/tmp/launch-kKuG0b/Render',
'BB_DOC_SELSTART_COLUMN' => '35',
'PWD' => '/Users/mkramer/Documents',
'USER' => 'mkramer',
'Apple_Ubiquity_Message' =>
'/tmp/launch-gWR0KQ/Apple_Ubiquity_Message',
'BB_DOC_SELEND_COLUMN' => '35',
'LOGNAME' => 'mkramer',
'PYTHONIOENCODING' => 'utf_8',
'__CF_USER_TEXT_ENCODING' => '0x1F5:0:0',
'BB_DOC_SELSTART_LINE' => '5',
'BB_DOC_SELSTART' => '70',
'PATH' => '/usr/bin:/bin:/usr/sbin:/sbin',
'SHELL' => '/bin/bash',
'BB_DOC_PATH' => '/Users/mkramer/Documents/test.pl',
'TMPDIR' => '/var/folders/4l/6fcj16pn1x767zptqmstd8bc0000gn/T/',
'BB_DOC_SELEND_LINE' => '5',
'VERSIONER_PERL_VERSION' => '5.12'
};
None of the env I export from my rc files is showing up. What do I need to
do about that?
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem,
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>