Skip to content

Commit fbafd05

Browse files
authored
feat: update index.md
1 parent ef3ffef commit fbafd05

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/posts/macos/index.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,10 @@ source .zshrc
1010
使用命令启动 WebStorm: 现在你可以在任何目录下,使用以下命令打开 WebStorm 并加载当前目录:
1111
```shell
1212
webstorm .
13-
```
13+
```
14+
使用br别名 自动执行brotli xxx.file 输出文件体积,以及自动删除
15+
```shell
16+
alias br='f(){ brotli -f "$1" && du -h "$1.br" && rm "$1.br"; }; f'
17+
## 相当于
18+
brotli xxx.file => ls -h xxx.file.br => rm rf xxx.file.br
19+
```

0 commit comments

Comments
 (0)