[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [PATCH 0/1] ash,hush: tab completion of functions and aliases
From:       Ron Yorston <rmy () pobox ! com>
Date:       2023-04-13 11:55:20
Message-ID: 6437eda8.7xmOSNErXOVqhWmq%rmy () pobox ! com
[Download RAW message or body]

There follows a patch to add tab completion of functions and aliases
to ash and hush.  (hush doesn't support aliases, but that's a different
issue.)

A couple of things:

- The code makes repeated passes over the command and alias tables.
  We don't think this will be a problem in most cases.  We do have
  an alternative patch which only requires a single pass but it's
  more intrusive and bigger (200 vs 114 bytes).  It can be made
  available if there's interest.

- bloatcheck doesn't give an accurate result for this patch.  It was
  confused by there being two functions called get_builtin_name.  The 
  report in the patch was generated by splitting the change into two
  parts:  one to change the names and a second to add the new code.

Cheers,

Ron
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic