Skip to content

Shell Commands

Chris Gurney edited this page May 8, 2024 · 13 revisions

Execute any shell command and insert its output at your cursor position

🧩 Plugins used:

Steps (to get the URL)

  1. Open the Shell Commands plugin settings.
  2. Click New shell command to add a command.
    • For python scripts, make sure your path to the python binary is absolute (on my system it's at /opt/homebrew/bin/python3).
  3. Click the gear (⚙️) icon for each command, and adjust these settings:
    • In the General tab, set an Alias for the command (e.g., "tasks_today"). You will be able to execute this from a slash command.
    • In the Output tab, change Output channel for stdout to Current file: caret position.
  4. Copy the command's URI (using the link (🔗) icon under each command).

Examples

Since you can execute any shell command, Python script, PHP script, etc. using this plugin, you can take advantage of a number of other projects available, including:

Need help? 🛟

If you're having an issue with a particular plugin, please refer to their help documentation.

Otherwise, ask a question or request a feature! If you run into something that looks like a bug, please log an issue.

Back to: Examples

Clone this wiki locally