@@ -25,7 +25,7 @@ operate on files with no extension and a shell shebang.
2525Use ` -i N ` to indent with a number of spaces instead of tabs. There are
2626other formatting options - see ` shfmt -h ` .
2727
28- Packages are available for [ Arch] , [ Homebrew] , [ NixOS] and [ Void] .
28+ Packages are available for [ Arch] , [ CRUX ] , [ Homebrew] , [ NixOS] and [ Void] .
2929
3030#### Advantages over ` bash -n `
3131
@@ -86,22 +86,25 @@ the parser and the printer. To get started, run:
8686
8787### Related projects
8888
89+ * [ dockerised-shfmt] - A docker image of ` shfmt `
8990* [ format-shell] - Atom plugin for ` shfmt `
91+ * [ micro] - Editor with a built-in plugin for ` shfmt `
9092* [ shell-format] - VS Code plugin for ` shfmt `
91- * [ dockerised-shfmt] - A docker image of ` shfmt `
9293* [ vim-shfmt] - Vim plugin for ` shfmt `
9394
94- [ posix shell ] : http ://pubs.opengroup .org/onlinepubs/9699919799/utilities/V3_chap02.html
95+ [ arch ] : https ://aur.archlinux .org/packages/shfmt/
9596[ bash ] : https://www.gnu.org/software/bash/
96- [ mksh ] : https://www.mirbsd.org/mksh.htm
97+ [ crux ] : https://github.com/6c37/crux-ports-git/tree/3.3/shfmt
98+ [ dockerised-shfmt ] : https://hub.docker.com/r/jamesmstone/shfmt/
9799[ examples ] : https://godoc.org/mvdan.cc/sh/syntax#pkg-examples
98- [ arch ] : https://aur.archlinux.org/packages/shfmt/
100+ [ format-shell ] : https://atom.io/packages/format-shell
101+ [ go-fuzz ] : https://github.com/dvyukov/go-fuzz
99102[ homebrew ] : https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/shfmt.rb
103+ [ micro ] : https://micro-editor.github.io/
104+ [ mksh ] : https://www.mirbsd.org/mksh.htm
100105[ nixos ] : https://github.com/NixOS/nixpkgs/blob/HEAD/pkgs/tools/text/shfmt/default.nix
101- [ void ] : https://github.com/voidlinux/void-packages/blob/HEAD/srcpkgs/shfmt/template
102- [ go-fuzz ] : https://github.com/dvyukov/go-fuzz
106+ [ posix shell ] : http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
103107[ posix-ambiguity ] : http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_03
104- [ format-shell ] : https://atom.io/packages/format-shell
105108[ shell-format ] : https://marketplace.visualstudio.com/items?itemName=foxundermoon.shell-format
106- [ dockerised-shfmt ] : https://hub.docker.com/r/jamesmstone/shfmt/
107109[ vim-shfmt ] : https://github.com/z0mbix/vim-shfmt
110+ [ void ] : https://github.com/voidlinux/void-packages/blob/HEAD/srcpkgs/shfmt/template
0 commit comments