Skip to main content

run_rcfile

Function run_rcfile 

Source
pub async fn run_rcfile<S>(env: &mut Env<S>, file: InitFile)
where S: GetUid + Runtime + 'static,
Expand description

Runs the rcfile specified by the file argument.

This function resolves the path to the rcfile using resolve_rcfile_path and then runs the rcfile using run_init_file. Any errors resolving the path are reported to the standard error.