From e1d06ea37405f992c4d7c590b1dd8166ed44902c Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 17 Jul 2024 16:39:03 +0200 Subject: [PATCH] Fix creation of vscode config files --- scripts/Arch/Software/vscode/main.fish | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/Arch/Software/vscode/main.fish b/scripts/Arch/Software/vscode/main.fish index b2c67f5c..f12185e6 100644 --- a/scripts/Arch/Software/vscode/main.fish +++ b/scripts/Arch/Software/vscode/main.fish @@ -18,7 +18,11 @@ begin for bin in $bins if type -q "$bin" - echo "--touch-events" | sudo tee /etc/skel/.config/$bin-flags.conf > /dev/null + begin + set -l file "/etc/skel/.config/$bin-flags.conf" + sudo mkdir -p (dirname "$file") + echo "--touch-events" | sudo tee "$file" > /dev/null + end end end