1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2025-06-27 06:35:39 -04:00

skip linux.sh in codespaces

This commit is contained in:
2025-03-10 13:44:51 -04:00
parent 21da506122
commit c93d4561f1
3 changed files with 7 additions and 3 deletions

View File

@ -63,7 +63,7 @@ if [[ "$OSTYPE" = darwin* ]]; then
touch ~/.bash_sessions_disable
source "$DOTFILES/macos/macos.sh"
elif [[ "$OSTYPE" = linux-gnu* ]]; then
elif [[ "$OSTYPE" = linux-gnu* ]] && [[ -z "$CODESPACES" ]]; then
# final symlinks
ln -sf "$DOTFILES/nano/default.nanorc" ~/.nanorc

View File

@ -17,6 +17,7 @@ export NPM_CONFIG_FUND=false
export NPM_CONFIG_UPDATE_NOTIFIER=false
export OPEN_SOURCE_CONTRIBUTOR=true
export OPENCOLLECTIVE_HIDE=1
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
# can everyone stop being so creepy pls
export AZURE_CORE_COLLECT_TELEMETRY=0

View File

@ -87,8 +87,6 @@ if [[ -x "$BREW_BIN" ]]; then
export LDFLAGS CPPFLAGS PKG_CONFIG_PATH RUBY_CONFIGURE_OPTS
unset gnubin gnuman compiler_libs lib
fi
else
echo "⚠️ Homebrew can't be found in any of the normal locations. Are you sure it's installed?"
fi
# go
@ -122,6 +120,11 @@ if command -v pyenv &>/dev/null; then
fi
fi
# pnpm
if [[ -d "$HOME/.local/share/pnpm" ]]; then
path=("$HOME/.local/share/pnpm" $path)
fi
# docker user mode, see: https://docs.docker.com/desktop/mac/permission-requirements/#installing-symlinks
if [[ -d "$HOME/.docker/bin" ]]; then
path=("$HOME/.docker/bin" $path)