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);