1#!/bin/bash 2 3echo "Installing oh-my-bash ..." 4bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" --unattended 5sed -i 's/OSH_THEME="font"/OSH_THEME="powerline"/' ~/.bashrc 6 7echo "Bootstrapping vcpkg ..." 8# shellcheck source=/dev/null 9. <(curl -sL https://aka.ms/vcpkg-init.sh) 10grep -q "vcpkg-init" ~/.bashrc || echo -e "\n# Initialize vcpkg\n. ~/.vcpkg/vcpkg-init" >> ~/.bashrc && \ 11pushd "$(dirname "$0")" || exit 12vcpkg x-update-registry --all 13vcpkg activate 14popd || exit 15