#!/bin/bash
for editor_bin in \
    codium \
    codium-insiders \
    code \
    code-insiders
do
    if command -v "$editor_bin" > /dev/null 2>&1
    then
        for extension in \
            zokugun.sync-settings \
            zokugun.vsix-manager
        do
            $editor_bin --install-extension "$extension";
        done;
    fi;
done;