Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SyncToLoginShell ¶
func SyncToLoginShell()
SyncToLoginShell updates the current process's PATH to include directories defined by the user's login shell. This matters for GUI/service launches, which inherit a minimal PATH that lacks common user directories: on macOS a process started from the GUI or launchd misses ~/.local/bin, /opt/homebrew/bin, etc.; on Linux a .desktop/AppImage or systemd-user launch may not source the login shell's profile at all.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.