Documentation
¶
Overview ¶
Package shellenv is the single rule for which shell a workspace user works in and which command search path that shell gives them. The browser terminal and every launcher that must find user-installed commands derive from the same launch line here, so a command that resolves in the terminal also resolves for a process Memoh starts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolvePath ¶
func ResolvePath(ctx context.Context, client *bridge.Client, seedPath string, env, unsetEnv []string) (string, error)
ResolvePath returns the command search path an interactive workspace shell ends up with when it starts from env and seedPath. Only PATH is taken from the shell: the rest of the environment stays under the caller's control.
func TerminalCommand ¶
func TerminalCommand() string
TerminalCommand is the launch line of the interactive browser terminal.
Types ¶
This section is empty.