Remove the suggestion to alias ls to dir

It only cause confusion to alias ls to dir as the two commands behave very different. It can also cause trouble if the user later installs the UNIX tools through for example 'git for Windows'
This commit is contained in:
Morten Enemark Lund 2016-03-06 21:59:34 +01:00
parent 7c040f59cc
commit 2061157597

View file

@ -86,13 +86,12 @@ the ``.``, like this:
Many people create a ``d`` or ``ls`` alias for the ``dir`` command to save
Many people create a ``d`` alias for the ``dir`` command to save
typing and avoid the ambiguity altogether:
.. code-block:: xonshcon
>>> aliases['d'] = ['cmd', '/c', 'dir']
>>> aliases['ls'] = 'dir'
You can add aliases to your ``~/.xonshrc`` to have it always
available when xonsh starts.