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