• use Support/lib/tm/detach This has the advantage of catching potential exceptions thrown from the ruby code and show them in a dialog, plus it removes the boilerplate code associated with detaching a command. Changed: U trunk/Bundles/TODO.tmbundle/Commands/Preferences.tmCommand