[Ipython-tickets] [IPython] #162: hyphens in aliases

IPython ipython-tickets@scipy....
Sat May 26 11:39:23 CDT 2007


#162: hyphens in aliases
------------------------+---------------------------------------------------
 Reporter:  kovidgoyal  |       Owner:  fperez
     Type:  defect      |      Status:  new   
 Priority:  normal      |   Milestone:        
Component:  ipython     |     Version:        
 Severity:  normal      |    Keywords:        
------------------------+---------------------------------------------------
 ipython doesn't support hyphens in aliases. This is inconvenient when used
 as a system shell, as many executables in PATH have hyphens in their
 names.
 {{{
 alias a-b echo
 kovid@giskard ~ 23$ a-b
 ---------------------------------------------------------------------------
 <type 'exceptions.NameError'>             Traceback (most recent call
 last)

 /home/kovid/documents/ebooks/bb/<ipython console> in <module>()

 <type 'exceptions.NameError'>: name 'a' is not defined
 }}}

-- 
Ticket URL: <http://projects.scipy.org/ipython/ipython/ticket/162>
IPython <http://ipython.scipy.org>
The IPython interactive Python system


More information about the Ipython-tickets mailing list