diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/export_fun.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/export_fun.rs b/src/export_fun.rs index fb7911c..ff1feeb 100644 --- a/src/export_fun.rs +++ b/src/export_fun.rs @@ -134,6 +134,7 @@ fn handle_client(mut stream: UnixStream) -> io::Result<()> { exit(exit_code) } +/// sets up the commands `PATH` to allow it to invoke this shell sessions user-defined functions pub fn prepare_command(session: Arc<Mutex<Session>>, cmd: &mut Command) { let Ok(session) = session.lock() else { return; |
