Skip to content

Read the login shell's PATH on Linux as well as macOS - #90

Merged
m4rocks merged 2 commits into
mainfrom
linux-login-shell-path
Nov 1, 2026
Merged

m4rocks merged 2 commits into
mainfrom
linux-login-shell-path

Conversation

@m4rocks

@m4rocks m4rocks commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

A desktop-launched app on Linux gets a minimal PATH, so tools that only the shell's startup files add (nvm, for one) weren't found. Sessions now start through the login shell on every Unix, falling back to bash when SHELL is unset, and find_executable looks at that PATH too. The README's known gap for this is removed.

No new tests; this needs a desktop launch on Linux to check.

A desktop-launched app on Linux gets a minimal PATH too, so tools that
only the shell's startup files add (nvm, for one) were not found. Sessions
now start through the login shell on every Unix, with bash as the
fallback when SHELL is unset, and find_executable looks at its PATH.
@vercel

vercel Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
claudiu Ready Ready Preview Nov 1, 2026 8:22pm UTC

The assertion compared Vec<String> against vec![.. .into()], which rustc
cannot infer (E0283), so the test build failed on every platform.

Claude-Session: https://claude.ai/code/session_01Du3Uo5uNcjDYQqGRwN1XR9
@m4rocks
m4rocks merged commit 0a1af7a into main Nov 1, 2026
5 checks passed
@m4rocks m4rocks mentioned this pull request Nov 1, 2026
3 tasks done
@m4rocks
m4rocks deleted the linux-login-shell-path branch November 2, 2026 13:47

This branch was successfully deployed

1 active deployment
Preview — bc3d4e49 Deployed Nov 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant