Commit stash before the chaos

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2022-07-07 22:06:00 +08:00
parent e4793e6b2f
commit 18da14312f
Signed by: ajhalili2006
GPG Key ID: A30EBE40AD856D88
2 changed files with 26 additions and 14 deletions

View File

@ -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

View File

@ -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"