Improved readline tab completion