ipython chdir support and mac/windows keybind