feat: add make fmt for *.sh *.bash
Before adoption: this commit came in with the history the project adopted, so no landing records it.
1. add .editorconfig file, add rules for .sh .bash files. 2. add make fmt target, use: - gofmt *.go. - shfmt *.sh *.bash, shell/completion.bash, shell/key-bindings.bash need a left indent due to an outermost if block. 3. add shfmt check for bash scripts in make lint target. 4. install shfmt in actions.
authored by xieyonn · committed by Junegunn Choi · parent 148b0a9 · Browse files · 4 files+44 added−4 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+44 added−4 removed
- other:+44 added−4 removed