language docs/xonshrc.rst

Co-authored-by: Jamie Bliss <jamie@ivyleav.es>
This commit is contained in:
con-f-use 2020-06-11 19:55:49 +02:00 committed by GitHub
parent bfac091034
commit 9b418489f5
Failed to generate hash of commit

View file

@ -4,7 +4,7 @@ Xonsh allows you to have run control files to customize your shell behavior. Th
The system-wide ``xonshrc`` file controls options that are applied to all users of Xonsh on a given system. You can create this file in ``/etc/xonshrc`` for Linux and OSX and in ``%ALLUSERSPROFILE%\xonsh\xonshrc`` on Windows.
Xonsh also allows you to have a run control file in your home directory. It can either be directly in ``~/.xonshrc`` or for XDG compliance in ``~/.config/rc.xsh``. The options set in the local ``xonshrc`` only apply to the current user and will override any conflicting settings set in the system-wide control file.
Xonsh also allows you to have a run control file in your home directory. It can either be directly in the home directory at ``~/.xonshrc`` or for XDG compliance at ``~/.config/rc.xsh``. The options set in the local ``xonshrc`` only apply to the current user and will override any conflicting settings set in the system-wide control file.
These files are written in the xonsh language, of course. They are executed exactly once
at startup. The following is a real-world example of such a file.