generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 12
Shell Commands
Chris Gurney edited this page May 8, 2024
·
13 revisions
🧩 Plugins used:
-
Shell Commands (install via
Community Plugins: Shell Commands
)
Steps (to get the URL)
- Open the Shell Commands plugin settings.
- 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
).
- For python scripts, make sure your path to the python binary is absolute (on my system it's at
- 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.
- 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:
- Calendar events (today, tomorrow), via icalBuddy
- Git activity (commits, PRs) via gitactivity2md
- Things3 tasks (todo, completed) via things2md
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
User Guide • Gallery • Note Toolbar API • Support • Discussions ↗ • Release Notes ↗ • Roadmap
Note Toolbar by Chris Gurney • Buy me a coffee ☕️