Fix creation of vscode config files
This commit is contained in:
parent
39217bce22
commit
e1d06ea374
|
@ -18,7 +18,11 @@ begin
|
||||||
|
|
||||||
for bin in $bins
|
for bin in $bins
|
||||||
if type -q "$bin"
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue