fixed some bugs; now supports ~; should no longer override default completions