chore: use shfmt same as neoformat
See https://github.com/sbdchd/neoformat/blob/master/autoload/neoformat/formatters/sh.vimmain
parent
fff663c2da
commit
a6a0789a7d
2
Makefile
2
Makefile
|
@ -35,7 +35,7 @@ format:
|
||||||
go install mvdan.cc/sh/v3/cmd/shfmt@latest
|
go install mvdan.cc/sh/v3/cmd/shfmt@latest
|
||||||
gofimports -w --company github.com/make-go-great,github.com/haunt98 .
|
gofimports -w --company github.com/make-go-great,github.com/haunt98 .
|
||||||
gofumpt -w -extra .
|
gofumpt -w -extra .
|
||||||
shfmt -w ./scripts ./data/zsh
|
shfmt -w -ci -i 4 ./scripts ./data/zsh
|
||||||
|
|
||||||
build:
|
build:
|
||||||
$(MAKE) clean
|
$(MAKE) clean
|
||||||
|
|
|
@ -6,10 +6,10 @@ rustup update
|
||||||
sudo port deactivate libiconv
|
sudo port deactivate libiconv
|
||||||
|
|
||||||
cargo install \
|
cargo install \
|
||||||
fd-find bat ripgrep git-delta exa tealdeer \
|
fd-find bat ripgrep git-delta exa tealdeer \
|
||||||
difftastic vivid \
|
difftastic vivid \
|
||||||
fnm stylua taplo-cli \
|
fnm stylua taplo-cli \
|
||||||
pfetch pokeget
|
pfetch pokeget
|
||||||
|
|
||||||
sudo port activate libiconv
|
sudo port activate libiconv
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
port install \
|
port install \
|
||||||
libgit2 \
|
libgit2 \
|
||||||
git neovim \
|
git neovim \
|
||||||
fdupes rsync rclone restic task \
|
fdupes rsync rclone restic task \
|
||||||
nnn imagemagick ffmpegthumbnailer asciinema agg android-platform-tools scrcpy libjxl yt-dlp \
|
nnn imagemagick ffmpegthumbnailer asciinema agg android-platform-tools scrcpy libjxl yt-dlp \
|
||||||
pipx plantuml
|
pipx plantuml
|
||||||
|
|
Loading…
Reference in New Issue