Install vscode
extensions for each user
This commit is contained in:
parent
de4ceadd9e
commit
2df6822aff
1 changed files with 2 additions and 2 deletions
|
@ -4,14 +4,14 @@ begin
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../Scripts/software.fish"
|
||||||
source "$dir/../../../Common/Software/aliae/main.fish"
|
source "$dir/../../../Common/Software/aliae/main.fish"
|
||||||
|
|
||||||
function configureSW
|
function userConfig -a name
|
||||||
set -l bins codium codium-insiders code code-insiders
|
set -l bins codium codium-insiders code code-insiders
|
||||||
set -l extensions zokugun.{sync-settings,vsix-manager}
|
set -l extensions zokugun.{sync-settings,vsix-manager}
|
||||||
|
|
||||||
for bin in $bins
|
for bin in $bins
|
||||||
if type -q "$bin"
|
if type -q "$bin"
|
||||||
for extension in $extensions
|
for extension in $extensions
|
||||||
"$bin" --install-extension "$extension"
|
sudo -u "$name" "$bin" --install-extension "$extension"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue