From e87a5b9eefdec84a70c0a6a8f83e20c714c3abb8 Mon Sep 17 00:00:00 2001
From: Recolic <git@me.recolic.net>
Date: Thu, 6 Mar 2025 16:34:56 -0800
Subject: [PATCH] .

---
 sys/unix_handy.hpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys/unix_handy.hpp b/sys/unix_handy.hpp
index 7ebf7c9..f18b618 100644
--- a/sys/unix_handy.hpp
+++ b/sys/unix_handy.hpp
@@ -54,6 +54,10 @@ namespace rlib {
     
         return res;
     }
+
+    auto get_shell_name() {
+        return shell_run("echo $0").stdout_;
+    }
 }
 
 // Deprecated. Use sys/sio.hpp
-- 
GitLab