Skip to main content

shell

代码格式化

Install by Package Manger:
sudo pacman -S --noconfirm shfmt

-w 参数把格式化结果写入原文件

shfmt -w <script>

格式化当前目录所有文件

shfmt -w -l .
Product Type:
Install

赞助作者 (Sponse me):