Skip to main content

shell_rc_file

Function shell_rc_file 

Source
pub fn shell_rc_file() -> &'static str
Expand description

The rc file path for the user’s current login shell ($SHELL), or a generic fallback when it cannot be determined. Used in help text and troubleshooting hints so they never hardcode a single shell’s rc file.