更合理的网关路由获取,部分插件不预装
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
# 1改为0或者注释掉行 -> 禁用安装
|
||||
cli_7zip=1 # 7zip压缩 https://www.7-zip.org
|
||||
cli_fastfetch=0 # 系统信息 https://github.com/fastfetch-cli/fastfetch
|
||||
cli_fastfetch=1 # 系统信息 https://github.com/fastfetch-cli/fastfetch
|
||||
cli_superfile=0 # 文件管理 https://github.com/yorukot/superfile
|
||||
cli_zoxide=1 # 智能cd https://github.com/ajeetdsouza/zoxide
|
||||
cli_bottom=1 # 系统监测 https://github.com/ClementTsang/bottom
|
||||
cli_fd=1 # 文件查找 https://github.com/sharkdp/fd
|
||||
cli_bat=0 # 内容查看 https://github.com/sharkdp/bat
|
||||
cli_aichat=1 # AI聊天 https://github.com/sigoden/aichat
|
||||
cli_aichat=0 # AI聊天 https://github.com/sigoden/aichat
|
||||
|
||||
## 安装
|
||||
LAZY_BIN=~/.lazyzsh/bin
|
||||
@@ -63,7 +63,6 @@ function gh_release() {
|
||||
tar -zxf $LAZY_BIN_TMP/zoxide.tar.gz -C $LAZY_BIN_TMP
|
||||
cp $LAZY_BIN_TMP/zoxide $LAZY_BIN
|
||||
echo 'eval "$(zoxide init zsh)"' >>$LAZY_BIN_INIT
|
||||
echo 'alias cd=z' >>$LAZY_BIN_INIT
|
||||
else
|
||||
echo "[lazyzsh:x] cli-zoxide download fail!"
|
||||
fi
|
||||
@@ -108,8 +107,6 @@ function gh_release() {
|
||||
if [[ $? == 0 ]]; then
|
||||
tar -zxf $LAZY_BIN_TMP/aichat -C $LAZY_BIN_TMP
|
||||
cp $LAZY_BIN_TMP/aichat $LAZY_BIN
|
||||
echo 'alias ac=aichat' >>$LAZY_BIN_INIT
|
||||
echo 'alias @=\"aichat -e \"'
|
||||
else
|
||||
echo "[lazyzsh:x] cli-aichat download fail!"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user