Skip to main content

detect_shell_integration

Function detect_shell_integration 

Source
pub fn detect_shell_integration(home: &Path) -> ShellIntegration
Expand description

Detect the shell init situation for the user.

Reads $SHELL, picks a likely rc file, checks whether the dodot init-sh eval line is already there. Pure read-only.