Persist `profile_name` as the active profile for the current shell session.
(profile_name: &str)
| 13 | |
| 14 | /// Persist `profile_name` as the active profile for the current shell session. |
| 15 | pub fn register_shell_session_profile(profile_name: &str) -> Result<()> { |
| 16 | shell_session_store::register(SessionKind::Profile, &profile_name.to_owned()) |
| 17 | } |
| 18 | |
| 19 | /// Look up the active profile for the current shell session, if any. |
| 20 | pub fn load_shell_session_profile() -> Result<Option<String>> { |
no test coverage detected