diff --git a/install.sh b/install.sh index 9b367c4..355804d 100755 --- a/install.sh +++ b/install.sh @@ -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 diff --git a/zsh/custom/env.zsh b/zsh/custom/env.zsh index 586603b..1809507 100644 --- a/zsh/custom/env.zsh +++ b/zsh/custom/env.zsh @@ -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 diff --git a/zsh/custom/path.zsh b/zsh/custom/path.zsh index b829c65..cfce4b6 100644 --- a/zsh/custom/path.zsh +++ b/zsh/custom/path.zsh @@ -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)