File path tab-complete fails in notebook after a directory with spaces #2758

Closed
dcajacob opened this Issue Jan 7, 2013 · 3 comments

Comments

Projects
None yet
4 participants

dcajacob commented Jan 7, 2013

When attempting to tab-complete a file path that includes spaces in the notebook, the completer refuses to offer suggestions after the section of the path that includes spaces.

e.g.

# In notebook

!mkdir ~/path/path\ with\ spaces
!touch  ~/path/path\ with\ spaces/file

open("~/path") # Try tab-completing the rest of the path to file, fail
Contributor

ArcTanSusan commented Dec 6, 2013

It's not just tab-completing that is a problem, but also the function of exiting the directory that contains spaces (with !cd ..) is broken.

Owner

Carreau commented Dec 6, 2013

what do you mean by !cd .. is broken ? works as expected for me:

In [13]: pwd
Out[13]: u'/Users/matthiasbussonnier/matplotlib/with space'

In [14]: !cd ..; pwd
/Users/matthiasbussonnier/matplotlib

In [15]: pwd
Out[15]: u'/Users/matthiasbussonnier/matplotlib/with space'

@minrk minrk modified the milestones: no action, 3.0 Nov 13, 2014

Owner

minrk commented Nov 13, 2014

Closing as duplicate of #2463

@minrk minrk closed this Nov 13, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment