remove newline from pdb snippet
add ipython completion