Created
October 29, 2025 04:27
-
-
Save lohanidamodar/2ae531400d4c448d57c4130e145a229f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # clone https://github.com/lohanidamodar/gitpod-dotfiles.git to ~/.dotfiles | |
| # then run the ~/.dotfiles/setup.sh script | |
| if [ -d "${HOME}/.dotfiles" ]; then | |
| echo "Dotfiles directory already exists at ${HOME}/.dotfiles" | |
| echo "Updating existing dotfiles..." | |
| cd "${HOME}/.dotfiles" || exit 1 | |
| git pull origin main | |
| else | |
| git clone https://github.com/lohanidamodar/gitpod-dotfiles.git "${HOME}/.dotfiles" | |
| fi | |
| if [ ! -f "${HOME}/.dotfiles/setup.sh" ]; then | |
| echo "Setup script not found in cloned dotfiles repository." | |
| exit 1 | |
| fi | |
| bash "${HOME}/.dotfiles/setup.sh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment