diff --git a/IPython/completer.py b/IPython/completer.py index 3647da2..52df78e 100644 --- a/IPython/completer.py +++ b/IPython/completer.py @@ -314,7 +314,10 @@ class IPCompleter(Completer): # don't want to treat as delimiters in filename matching # when escaped with backslash - protectables = ' ' + if sys.platform == 'win32': + protectables = ' ' + else: + protectables = ' ()' if text.startswith('!'): text = text[1:]