Update README.rst

This commit is contained in:
Andy Kipp 2024-08-08 15:27:59 +02:00 committed by GitHub
parent a1846d0579
commit 2b0012a5d5
Failed to generate hash of commit

View file

@ -44,6 +44,7 @@ xonsh
p'/etc/passwd'.read_text().find('root')
xontrib load dalias
id = $(@json docker ps --format json)['ID']
- .. code-block:: python
@ -52,6 +53,7 @@ xonsh
echo @(name) > /tmp/@(name)
ls @(input('file: '))
touch @([f"file{i}" for i in range(0,10)])
aliases['e'] = 'echo @(2+2)'
aliases['a'] = lambda args: print(args)