Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(devex): Add scoping for fish (#63593)

Nicholas Waltz5e54411021f9
diff --git a/.flox/env/manifest.toml b/.flox/env/manifest.toml
index eb923ab8b7d6..b0d0eff35d7e 100644
--- a/.flox/env/manifest.toml
+++ b/.flox/env/manifest.toml
@@ -146,7 +146,7 @@ fish = '''
set -gx GOCACHE "$FLOX_ENV_CACHE/go-build"
set -gx GOMODCACHE "$GOPATH/pkg/mod"
# Ensure flox binaries (especially Node.js) take precedence over system binaries
- fish_add_path "$FLOX_ENV/bin"
+ fish_add_path -g "$FLOX_ENV/bin"
# Recreate venv if it was deleted (on-activate only runs on first activation)
if not test -f "$UV_PROJECT_ENVIRONMENT/bin/activate.fish"
uv sync