You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document shell environment configuration for macOS GUI app #701
When launching Superset as a macOS desktop app, user shell aliases and environment variables are not available in workspace terminal sessions. This is because:
Superset uses tmux new-session -d -s "${sessionName}" "${command}" to launch agents
This executes the command directly without spawning an interactive login shell
I'm not sure this is true, we don't spawn sessions with tmux, we actually spawn with login shell for zsh or bash so your terminals.
Activity
Kitenite commentedon Jan 10, 2026
I'm not sure this is true, we don't spawn sessions with tmux, we actually spawn with login shell for zsh or bash so your terminals.
https://github.com/superset-sh/superset/blob/64987a8c4d492c1ca043618284eed175aebe5722/apps/desktop/src/main/lib/agent-setup/shell-wrappers.ts#L83
@mdrxy are you having specific problems with missing path bindings in the terminal?
mdrxy commentedon Jan 11, 2026
Sorry, I was mistaken about tmux. The issue appears to involve custom
ZDOTDIRdetection.My shell config uses
ZDOTDIR=~/.config/zsh(set in~/.zshenv). When the desktop app launches,getShellEnv()does:Since macOS GUI apps don't inherit shell environment variables
process.env.ZDOTDIRis undefined and it falls back to$HOME.Kitenite commentedon Jan 12, 2026
@mdrxy that makes sense, I can take a look today
fix(desktop): resolve shell environment for macOS GUI apps
Kitenite commentedon Jan 13, 2026
@mdrxy #720 should solve the issue but will need to test with a custom shell config
fix(desktop): resolve shell environment for macOS GUI apps (#720)
Kitenite commentedon Jan 13, 2026
@mdrxy let me know if the issue still persists in the latest release