kernel-rebase: enable interactive console tab completion

Quality of life change, completes both local and global symbols using a
completion function from the standard library (rlcompleter).

BUG=b:201456533
TEST=./rebase.py; enter 'prin', press tab, should complete to 'print('

Change-Id: I801e32fb6a82043be45198527eef9b1cc45f51b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/3264211
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Tested-by: Kamil Koczurek <koczurek@google.com>
Commit-Queue: Kamil Koczurek <koczurek@google.com>
1 file changed