run_init_file

Function run_init_file 

Source
pub async fn run_init_file(env: &mut Env, path: &str)
Expand description

Runs an initialization file, reading from the specified path.

This function reads the contents of the initialization file and executes them in the current shell environment. The file is specified by the path argument.

If path is an empty string, the function returns immediately.