Solved some problems with rlcompleter