On 27 Mar 2013, at 11:29, Allan Odgaard wrote:
E.g. to read the LaTeX bundle’s ‘Viewer’ setting, from shell:
defaults read "$TM_APP_IDENTIFIER" latexViewer
To offer the same 1.x backward compatibility that I did in the ruby example, it should have been:
defaults read "${TM_APP_IDENTIFIER:-com.macromates.textmate}" latexViewer
That said, for the bundles under https://github.com/textmate/ we dropped 1.x compatibility some time ago.