Comment 4 for bug 258721

Revision history for this message
Batz (batman900+launchpad) wrote :

Small patch for the other special bash characters.

diff --git a/IPython/core/completer.py b/IPython/core/completer.py
index b4b83e1..90c12af 100644
--- a/IPython/core/completer.py
+++ b/IPython/core/completer.py
@@ -95,7 +95,7 @@ __all__ = ['Completer','IPCompleter']
 if sys.platform == 'win32':
     PROTECTABLES = ' '
 else:
- PROTECTABLES = ' ()'
+ PROTECTABLES = ' ()[]{}?=\\|;:\'#*"^&'

 #-----------------------------------------------------------------------------
 # Main functions and classes