Executing shell commands (Become an expert)
This task will cover how to execute shell commands directly from the current document.
The steps to execute shell commands directly from the current document are as follows:
- Add a new command into the Bundle Editor window (Control + Option + Command + B) by clicking on the plus (+) icon and selecting New Command:
- Fill in the Command(s) text field with the commands you wish to execute, along with the Input, Output, and Activation options. You can also select this option via the Bundles menu.
- For the Command(s) text field, enter curl -sSd "css=$TM_SELECTED_TEXT" \http://prefixr.com/api/index.php ...