diff --git a/.config/konsole/Google Cloud Shell.profile b/.config/konsole/Google Cloud Shell.profile new file mode 100644 index 0000000..dd362ce --- /dev/null +++ b/.config/konsole/Google Cloud Shell.profile @@ -0,0 +1,18 @@ +[Appearance] +ColorScheme=Linux +Font=Cascadia Mono PL,12,-1,5,50,0,0,0,0,0 +TabColor=0,255,0 + +[General] +Command=$HOME/google-cloud-sdk/bin/gcloud --configuration=ajhalili2006-experiments cloud-shell ssh --authorize-session +Environment=TERM=xterm-256color,COLORTERM=truecolor,KONSOLE=1,TMUX= +Icon=yast-docker +Name=Google Cloud Shell +Parent=FALLBACK/ + +[Interaction Options] +CtrlRequiredForDrag=false + +[Terminal Features] +BlinkingCursorEnabled=true +UrlHintsModifiers=67108864 diff --git a/bootstrap b/bootstrap index 7068f75..cce61ea 100755 --- a/bootstrap +++ b/bootstrap @@ -5,14 +5,6 @@ #set -e -# if undefined, use $HOME/.local -if [[ $PREFIX == "" ]]; then - export PREFIX="$HOME/.local" - if [[ ! -d "$PREFIX/bin" ]]; then - mkdir "$PREFIX/bin" -p - fi -fi - # Check if we're on Gitpod OR GitHub Codespaces before running the main script # Note that I can't cover literally everything on automated tests and manual # runs. You don't want to abuse CI services for the sake of validating every @@ -76,13 +68,15 @@ checkOs() { # among other sorts of shitfuckery. We may need to also run tests through the CI to ensure nothing breaks. if echo "$OSTYPE" | grep -qE "linux-android.*"; then export DOTFILES_OS_NAME=android-termux - elif echo "$OSTYPE" | grep -qE '^linux-gnu.*' && [ "$(lsb_release -is)" == "Debian" ]; then - export DOTFILES_OS_NAME=debian - if [ -d '/google/devshell' ] && [ -f '/google/devshell/bashrc.google' ]; then - export GOOGLE_CLOUD_SHELL=true + elif echo "$OSTYPE" | grep -qE '^linux-gnu.*'; then + if [ "$(lsb_release -is)" == "Debian" ]; then + export DOTFILES_OS_NAME=debian + if [ -d '/google/devshell' ] && [ -f '/google/devshell/bashrc.google' ]; then + export GOOGLE_CLOUD_SHELL=true + fi + elif [ "$(lsb_release -is)" == "Ubuntu" ]; then + export DOTFILES_OS_NAME=ubuntu fi - elif $OSTYPE | grep -qE '^linux-gnu.*' && [ "$(lsb_release -is)" == "Ubuntu" ]; then - export DOTFILES_OS_NAME=ubuntu else error "Script unsupported for this specific distro. If this was an downstream fork of another repo, you could override" error "the DOTFILES_OS_NAME variable"