From df2d43eb596bf45ff7a7fa335ab1f472f0a06155 2017-05-11 14:56:35 From: Sang Min Park Date: 2017-05-11 14:56:35 Subject: [PATCH] 9174: Document default aliases --- diff --git a/IPython/core/magics/osm.py b/IPython/core/magics/osm.py index 035e12e..9832127 100644 --- a/IPython/core/magics/osm.py +++ b/IPython/core/magics/osm.py @@ -81,11 +81,21 @@ class OSMagics(Magics): In [9]: show $$PATH /usr/local/lf9560/bin:/usr/local/intel/compiler70/ia32/bin:... - You can use the alias facility to acess all of $PATH. See the %rehashx + You can use the alias facility to access all of $PATH. See the %rehashx function, which automatically creates aliases for the contents of your $PATH. - If called with no parameters, %alias prints the current alias table.""" + If called with no parameters, %alias prints the current alias table + for your system. For posix systems, the default aliases are 'cat', + 'cp', 'mv', 'rm', 'rmdir', and 'mkdir', and other platform-specific + aliases are added. For windows-based systems, the default aliases are + 'copy', 'ddir', 'echo', 'ls', 'ldir', 'mkdir', 'ren', and 'rmdir'. + + You can see the definition of alias by adding a question mark in the + end:: + + In [1]: cat? + Repr: """ par = parameter_s.strip() if not par: