installer icon indicating copy to clipboard operation
installer copied to clipboard

给命令行加颜色和优化脚本

Open mobeicanyue opened this issue 1 year ago • 5 comments

mobeicanyue avatar Apr 30 '24 09:04 mobeicanyue

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

f2c-ci-robot[bot] avatar Apr 30 '24 09:04 f2c-ci-robot[bot]

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

f2c-ci-robot[bot] avatar Apr 30 '24 09:04 f2c-ci-robot[bot]

https://github.com/1Panel-dev/installer/blob/f47c74e8c9d22f2910fdf68ea61798aa0bac4af4/install.sh#L320

这行这个 b 变量有什么用呢,没看出来

mobeicanyue avatar Apr 30 '24 09:04 mobeicanyue

命令行加了颜色,还有根据 vscode shell 插件,对报警告的地方优化了一下 比如: $()变量使用 双引号,命令加 $()

mobeicanyue avatar Apr 30 '24 09:04 mobeicanyue

感谢支持,手动点赞 👍

wanghe-fit2cloud avatar Apr 30 '24 09:04 wanghe-fit2cloud