aboutsummaryrefslogtreecommitdiffstats
path: root/plugin-dev-workspace.kdl
diff options
context:
space:
mode:
authorDaniel Jankowski <daniel.jankowski@rub.de>2023-11-22 20:15:14 +0100
committerDaniel Jankowski <daniel.jankowski@rub.de>2023-11-22 20:15:14 +0100
commit326c00e7e3620e7b93670e91070342f2a7c3d12e (patch)
treee804b384a37cc46bdf92797333588314a948c2f9 /plugin-dev-workspace.kdl
parentchore: update cargo dependencies (diff)
downloadsl0pstatus-326c00e7e3620e7b93670e91070342f2a7c3d12e.tar.gz
sl0pstatus-326c00e7e3620e7b93670e91070342f2a7c3d12e.tar.xz
sl0pstatus-326c00e7e3620e7b93670e91070342f2a7c3d12e.zip
fix: handle groups when running commands
Instead of naively splitting at spaces, zjstatus now respects groups with " and ' to enable using more complex arguments, e.g. bash -c "pwd | base64". Resolves #22
Diffstat (limited to 'plugin-dev-workspace.kdl')
-rw-r--r--plugin-dev-workspace.kdl2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin-dev-workspace.kdl b/plugin-dev-workspace.kdl
index c3e4058..96ca728 100644
--- a/plugin-dev-workspace.kdl
+++ b/plugin-dev-workspace.kdl
@@ -36,7 +36,7 @@ layout {
command_git_branch_format "#[fg=red,bg=black] {stdout} "
command_git_branch_interval "2"
- command_3_command "echo -n 'no newline'"
+ command_3_command "bash -c \"echo -n 'no newline'\""
command_3_format "#[fg=red,bg=black] {stdout} "
command_3_interval "10"