This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.

View the commit online.

commit 198eb7364be2d0ed6f59b3bc74bc3eeeec9bc00e
Author: Carsten Haitzler (Rasterman) <[email protected]>
AuthorDate: Sun Feb 8 13:16:11 2026 +0000

    typebuf - make ls also complete args
---
 src/backends/default/open.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/src/backends/default/open.c b/src/backends/default/open.c
index 5d915da..adc6906 100644
--- a/src/backends/default/open.c
+++ b/src/backends/default/open.c
@@ -1431,7 +1431,7 @@ _complete_last_arg_path_cmd(char **args, Eina_Strbuf *cmd, const char *cmd_arg)
       else
         { // last arg
           char *comp = _complete_arg_path(args[i]);
-          
+
           if (comp)
             {
               eina_strbuf_append(buf, comp);
@@ -1761,6 +1761,16 @@ do_handle_cmd(Cmd *c)
                       cmd_strbuf_print_consume(strbuf);
                     }
                 }
+              else if ((op) && (!strcmp(op, "complete")))
+                {
+                  if (args[1])
+                    {
+                      Eina_Strbuf *strbuf = cmd_strbuf_new("typebuf-set");
+                      if (_complete_last_arg_path_cmd(args, strbuf, "string"))
+                        cmd_strbuf_print_consume(strbuf);
+                      else eina_strbuf_free(strbuf);
+                    }
+                }
             }
           else if (!strcmp(args[0], "rm"))
             {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to