pub fn expand_history( input: &str, history: &[String], shell_prefix: Option<&str>, strip_prefix: bool, ) -> Option<String>