Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

34
xonsh Normal file
View File

@@ -0,0 +1,34 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# xonsh
> Python-powered, cross-platform, Unix-gazing shell.
> Write and mix sh/Python code in Xonsh (pronounced conch).
> More information: <https://xon.sh>.
- Start an interactive shell session:
`xonsh`
- Execute a single command and then exit:
`xonsh -c "{{command}}"`
- Run commands from a script file and then exit:
`xonsh {{path/to/script_file.xonsh}}`
- Define environment variables for the shell process:
`xonsh -D{{name1}}={{value1}} -D{{name2}}={{value2}}`
- Load the specified `.xonsh` or `.json` configuration files:
`xonsh --rc {{path/to/file1.xonsh}} {{path/to/file2.json}}`
- Skip loading the `.xonshrc` configuration file:
`xonsh --no-rc`