README.md

This commit is contained in:
2024-07-08 16:58:03 +08:00
parent 8af5428b35
commit da24ccc61a

View File

@@ -1,2 +1,45 @@
# autozshell
全新的shell
全新的shell,使用python编写支持主题和插件开发特别简单
# 安装
终端内输入
1.
国内(版本较新)```git clone http://git.zjnsans.top/Autoz/AutozShell.git /usr/local/bin```
国外(版本较低)```git clone https://github.com/0zjn0123/AutozShell.git /usr/local/bin```
2.
```cd AutozShell```
```python main.py```
# 主题
## 使用方法
在ash内输入```ash theme <主题名称>```
目前可以用的有default,sus当然你也可以自己开发
## 开发
1.在theme目录里新建一个目录名字是主题名称
2.复制default主题里的theme.py文件到新建的目录里面
3.修改head变量
## 从网上下载主题并使用
```git clone <主题仓库> ./theme```
# 插件
## 使用方法
### 安装插件
在ash内输入```ash plugin <插件名称>```
### 查看已加载插件
```ash plugin list```
### 卸载插件
```ash unplugin <插件名>```
目前可用的插件有lsfix,pythonim
## 开发
可以参照lsfix和pythonim这两个插件开发目前只能通过插件开发命令
command_list列表是注的命令
要有run方法有command参数
# 有可以编打包一下这个自己打包
#