#!/bin/bash install_vscode() { echo "Installing VS Code" curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo dnf-key add - sudo add-dnf-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" sudo dnf update sudo dnf install code -y }