add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

29
pages.zh/common/xonsh.md Normal file
View File

@@ -0,0 +1,29 @@
# xonsh
> 基于 Python 的跨平台 Unix 风格的 shell。
> 在 Xonsh 中编写和混合 sh/Python 代码(发音为 conch
> 更多信息:<https://xon.sh>。
- 开始一个交互式 shell 会话:
`xonsh`
- 执行单个命令然后退出:
`xonsh -c "{{command}}"`
- 从脚本文件中运行命令然后退出:
`xonsh {{path/to/script_file.xonsh}}`
- 为 shell 进程定义环境变量:
`xonsh -D{{name1}}={{value1}} -D{{name2}}={{value2}}`
- 加载指定的 `.xonsh``.json` 配置文件:
`xonsh --rc {{path/to/file1.xonsh}} {{path/to/file2.json}}`
- 跳过加载 `.xonshrc` 配置文件:
`xonsh --no-rc`