diff options
| author | Jonas Maier <> | 2026-03-10 15:25:12 +0100 |
|---|---|---|
| committer | Jonas Maier <> | 2026-03-10 15:25:12 +0100 |
| commit | 36072988ddce8f8cd47961608255c4ad8ba6b73e (patch) | |
| tree | 54964b9d272c1310d54d886e5985df0e7186a69f | |
| parent | c0d6f09ce24d05b9d6cc82bb3394dab0f74a5d57 (diff) | |
| download | pish-36072988ddce8f8cd47961608255c4ad8ba6b73e.tar.gz | |
comment
| -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; |
