Add Shell Command plugin for launcher commands (#290)
* Add Quick Shell plugin for launcher commands Introduces `/qs` launcher prefix to run shell commands in an interactive terminal. Features dynamic shell completions (Fish/Bash), command history, user snippets, and directory navigation. * Rename quick-shell plugin to shell command plugin * Update thumbnail.webp * Document shell dependencies and filter completions by current word Filter bash compgen completions to the current word being typed. Declare `sh`, `ls`, `fish`, and `bash` as plugin dependencies.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"hint_title": "Run a shell command",
|
||||
"hint_subtitle": "Type a command after /sh and press Enter to open it in your terminal",
|
||||
"run_title": "Run: {command}",
|
||||
"run_subtitle": "Opens in your default terminal",
|
||||
"run_subtitle_found": "{command} found — opens in your default terminal",
|
||||
"history_subtitle": "Recent command",
|
||||
"suggest_subtitle": "Suggestion",
|
||||
"snap_subtitle": "Complete: {command} — Enter to run",
|
||||
"snippet_subtitle": "Snippet",
|
||||
"cd_open_title": "Open in: {path}",
|
||||
"cd_open_subtitle": "Opens terminal in this folder",
|
||||
"cd_empty": "No folders found",
|
||||
"cd_empty_subtitle": "Type path or check workspace setting",
|
||||
"settings": {
|
||||
"default_workspace": {
|
||||
"label": "Default Workspace",
|
||||
"description": "Working directory commands run in. Leave empty to use the terminal's current directory."
|
||||
},
|
||||
"snippets": {
|
||||
"label": "Snippets",
|
||||
"description": "Commands shown when /sh is empty. Each entry is one command."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user