mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
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:
parent
7c040f59cc
commit
2061157597
1 changed files with 1 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue