From f84a6db680b6df1c7c8f06f1816f7e4c9e963668 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Thu, 26 Jun 2025 21:07:45 +0200 Subject: [PATCH] fix: correctly split shell --- frontend/src/views/settings/Global.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/settings/Global.vue b/frontend/src/views/settings/Global.vue index 266ad68b..1997576e 100644 --- a/frontend/src/views/settings/Global.vue +++ b/frontend/src/views/settings/Global.vue @@ -321,7 +321,10 @@ const save = async () => { .filter((cmd: string) => cmd !== ""); } } - newSettings.shell = shellValue.value.split("\n"); + newSettings.shell = shellValue.value + .trim() + .split(" ") + .filter((s) => s !== ""); if (newSettings.branding.theme !== getTheme()) { setTheme(newSettings.branding.theme);