From 2061157597c7c3d444cfc6975034898d24a60ab1 Mon Sep 17 00:00:00 2001 From: Morten Enemark Lund Date: Sun, 6 Mar 2016 21:59:34 +0100 Subject: [PATCH] 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' --- docs/windows.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/windows.rst b/docs/windows.rst index b1aa957c5..c212a07f1 100644 --- a/docs/windows.rst +++ b/docs/windows.rst @@ -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.