completions: add shell ipc commands

Also add shell help subcommand
This commit is contained in:
2 * r + 2 * t
2025-06-08 20:59:13 +10:00
parent 0f93aa3a45
commit 82b2212e85
2 changed files with 44 additions and 8 deletions
+5
View File
@@ -9,6 +9,11 @@ if test "$argv[1]" = shell
if test -z "$argv[2..]"
$C_DATA/shell/run.fish
else
if test "$argv[2]" = help
qs -p $C_DATA/shell ipc show
exit
end
if qs list --all | grep "Config path: $C_DATA/shell/shell.qml" &> /dev/null
qs -p $C_DATA/shell ipc call $argv[2..]
else