Commit stash before the chaos
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
parent
e4793e6b2f
commit
18da14312f
|
@ -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
|
22
bootstrap
22
bootstrap
|
@ -5,14 +5,6 @@
|
||||||
|
|
||||||
#set -e
|
#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
|
# 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
|
# 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
|
# 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.
|
# 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
|
if echo "$OSTYPE" | grep -qE "linux-android.*"; then
|
||||||
export DOTFILES_OS_NAME=android-termux
|
export DOTFILES_OS_NAME=android-termux
|
||||||
elif echo "$OSTYPE" | grep -qE '^linux-gnu.*' && [ "$(lsb_release -is)" == "Debian" ]; then
|
elif echo "$OSTYPE" | grep -qE '^linux-gnu.*'; then
|
||||||
export DOTFILES_OS_NAME=debian
|
if [ "$(lsb_release -is)" == "Debian" ]; then
|
||||||
if [ -d '/google/devshell' ] && [ -f '/google/devshell/bashrc.google' ]; then
|
export DOTFILES_OS_NAME=debian
|
||||||
export GOOGLE_CLOUD_SHELL=true
|
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
|
fi
|
||||||
elif $OSTYPE | grep -qE '^linux-gnu.*' && [ "$(lsb_release -is)" == "Ubuntu" ]; then
|
|
||||||
export DOTFILES_OS_NAME=ubuntu
|
|
||||||
else
|
else
|
||||||
error "Script unsupported for this specific distro. If this was an downstream fork of another repo, you could override"
|
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"
|
error "the DOTFILES_OS_NAME variable"
|
||||||
|
|
Loading…
Reference in New Issue