xonsh/docs/index.rst
2016-07-16 23:20:35 -07:00

274 lines
6.4 KiB
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

the xonsh shell
===============
.. raw:: html
<p style="text-align:center;">
<span style="font-family:Times;font-size:28px;font-style:normal;font-weight:normal;text-decoration:none;text-transform:none;font-variant:small-caps;color:000000;">
~
<script>
var taglines = [
"Exofrills in the shell",
"No frills in the shell",
"Become the Lord of the Files",
"Break out of your shell",
"The only shell that is also a shell",
"All that is and all that shell be",
"It cannot be that hard",
"Pass the xonsh, Piggy",
"Piggy glanced nervously into hell and cradled the xonsh",
"The xonsh is a symbol",
"It is pronounced <i>konk</i>",
"It is pronounced <i>conch</i>",
"It is pronounced <i>quanxh</i>",
"It is pronounced <i>zonsch</i>",
"It is pronounced <i>jeaunsch</i>",
"It is pronounced <i>🐚</i>",
"It is pronounced <i>măjˈĭk</i>",
"It is pronounced <i>gif</i>",
"It is pronounced <i>Honshu</i>",
"It is pronounced <i>soonish</i>",
"It is pronounced <i>vixenish</i>",
"The shell, bourne again",
"Snailed it",
"Starfish loves you",
"Come snail away",
"This is Major Tom to Ground Xonshtrol",
"Sally sells csh and keeps xonsh to herself",
"Nice indeed. Everything's accounted for, except your old shell.",
"I wanna thank you for putting me back in my snail shell",
"Crustaceanly Yours",
"With great shell comes great reproducibility",
"None shell pass",
"You shell not pass!",
"The x-on shell",
"Ever wonder why there isn't a Taco Shell? Because it is a corny idea.",
"It is pronounced <i>コンチ</i>",
"It is pronounced <i>コンッチ</i>",
"It is pronounced <i>コンシュ</i>",
"The carcolh will catch you!",
"People xonshtantly mispronounce these things",
"WHAT...is your favorite shell?",
"Exploiting the workers and hanging on to outdated imperialist dogma since 2015."
];
document.write(taglines[Math.floor(Math.random() * taglines.length)]);
</script>
~
<br />
<br />
</span>
</p>
Xonsh is a Python-ish, BASHwards-looking shell language and command prompt.
The language is a superset of Python 3.4+ with additional shell primitives
that you are used to from Bash and IPython. It works on all major systems including
Linux, Mac OSX, and Windows. Xonsh is meant for the daily use of experts and novices
alike.
**At a glance**
.. raw:: html
<p style="text-align:center;"><script type="text/javascript"
src="https://asciinema.org/a/9kp21a67ahhng25wtzoep3pyx.js"
id="asciicast-9kp21a67ahhng25wtzoep3pyx" async
data-size="medium" data-speed="2"></script>
</p>
=========
Contents
=========
**Installation:**
.. toctree::
:titlesonly:
:maxdepth: 1
dependencies
linux
osx
windows
add_to_shell
**Guides:**
.. toctree::
:titlesonly:
:maxdepth: 1
tutorial
tutorial_hist
tutorial_xontrib
tutorial_completers
bash_to_xsh
python_virtual_environments
**Configuration & Setup:**
.. toctree::
:titlesonly:
:maxdepth: 1
xonshrc
xonshconfig
envvars
aliases
xontribs
**News & Media:**
.. toctree::
:titlesonly:
:maxdepth: 1
talks_and_articles
quotes
**Development Spiral:**
.. toctree::
:titlesonly:
:maxdepth: 1
api/index
devguide/
previous/index
faq
todo
==========
Comparison
==========
Xonsh is significantly different from most other shells or shell tools. The following
table lists features and capabilities that various tools may or may not share.
.. list-table::
:widths: 3 1 1 1 1 1 1
:header-rows: 1
:stub-columns: 1
* -
- Bash
- zsh
- plumbum
- fish
- IPython
- xonsh
* - Sane language
-
-
- ✓
- ✓
- ✓
- ✓
* - Easily scriptable
- ✓
- ✓
- ✓
- ✓
-
- ✓
* - Native cross-platform support
-
-
- ✓
- ✓
- ✓
- ✓
* - Meant as a shell
- ✓
- ✓
-
- ✓
-
- ✓
* - Tab completion
- ✓
- ✓
-
- ✓
- ✓
- ✓
* - Man-page completion
-
-
-
- ✓
-
- ✓
* - Large standard library
-
- ✓
-
-
- ✓
- ✓
* - Typed variables
-
-
- ✓
- ✓
- ✓
- ✓
* - Syntax highlighting
-
-
-
- ✓
- in notebook
- w/ prompt-toolkit
* - Pun in name
- ✓
-
- ✓
-
-
- ✓
* - Rich history
-
-
-
-
-
- ✓
.. include:: dependencies.rst
============
Contributing
============
We highly encourage contributions to xonsh! If you would like to contribute,
it is as easy as forking the repository on GitHub, making your changes, and
issuing a pull request. If you have any questions about this process don't
hesitate to ask the mailing list (xonsh@googlegroups.com) or the `Gitter <https://gitter.im/xonsh/xonsh>`_ channel.
See the `Developer's Guide <devguide.html>`_ for more information about contributing.
==========
Contact Us
==========
If you have questions or comments, please send them to the mailing list
xonsh@googlegroups.com, page us on IRC, contact the author directly, or
open an issue on GitHub.
`Join the mailing list here! <https://groups.google.com/forum/#!forum/xonsh>`_
=============
Helpful Links
=============
* `Documentation <http://xon.sh>`_
* `Gitter <https://gitter.im/xonsh/xonsh>`_
* `Mailing list <https://groups.google.com/forum/#!forum/xonsh>`_
* `IRC: channel #xonsh on OFTC <http://www.oftc.net/>`_
* `GitHub Repository <https://github.com/xonsh/xonsh>`_
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
.. raw:: html
<a href="https://github.com/xonsh/xonsh"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/52760788cde945287fbb584134c4cbc2bc36f904/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f77686974655f6666666666662e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png"></a>