2024-07-17 12:18:27 +00:00
|
|
|
#!/bin/env fish
|
|
|
|
begin
|
|
|
|
set -l dir (status dirname)
|
|
|
|
source "$dir/../../Scripts/software.fish"
|
|
|
|
source "$dir/../../../Common/Software/aliae/main.fish"
|
|
|
|
|
2024-07-29 22:53:10 +00:00
|
|
|
function userConfig -a name
|
2024-07-17 12:18:27 +00:00
|
|
|
set -l bins codium codium-insiders code code-insiders
|
|
|
|
set -l extensions zokugun.{sync-settings,vsix-manager}
|
|
|
|
|
|
|
|
for bin in $bins
|
|
|
|
if type -q "$bin"
|
|
|
|
for extension in $extensions
|
2024-07-29 22:53:10 +00:00
|
|
|
sudo -u "$name" "$bin" --install-extension "$extension"
|
2024-07-17 12:18:27 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
runInstaller $argv
|
|
|
|
end
|