inpy: support tab completion on OSX

OSX uses libedit rather than GNU readline
for GPL avoidance reasons