mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
docs: update Files section for (vim-)prettier, shellcheck, and (vim-)shfmt
This commit is contained in:
@@ -15,9 +15,11 @@ install:
|
||||
|
||||
```text
|
||||
~/.config/envman/PATH.env
|
||||
~/.local/opt/node
|
||||
~/.local/opt/node/bin/prettier
|
||||
```
|
||||
|
||||
If [`node`](/node) is not found, it will also be installed.
|
||||
|
||||
## Cheat Sheet
|
||||
|
||||
> The core value of Prettier is not in what it gives, but in what it takes away:
|
||||
|
||||
@@ -8,6 +8,17 @@ tagline: |
|
||||
To update or switch versions, run `webi shellcheck@stable`, or `@vx.y.z` for a
|
||||
specific version.
|
||||
|
||||
### Files
|
||||
|
||||
These are the files / directories that are created and/or modified with this
|
||||
install:
|
||||
|
||||
```text
|
||||
~/.config/envman/PATH.env
|
||||
~/.local/opt/shellcheck/
|
||||
~/.local/bin/shellcheck
|
||||
```
|
||||
|
||||
## Cheat Sheet
|
||||
|
||||
> shellcheck catches rookie mistakes (and old-habits-die-hard mistakes) in bash
|
||||
|
||||
@@ -7,6 +7,17 @@ tagline: |
|
||||
|
||||
To update or switch versions, run `webi shfmt@stable` or `webi shfmt@beta`, etc.
|
||||
|
||||
### Files
|
||||
|
||||
These are the files / directories that are created and/or modified with this
|
||||
install:
|
||||
|
||||
```text
|
||||
~/.config/envman/PATH.env
|
||||
~/.local/opt/shfmt/
|
||||
~/.local/bin/shfmt
|
||||
```
|
||||
|
||||
## Cheat Sheet
|
||||
|
||||
> shfmt is a shell parser, formatter and interpretter that supports POSIX Shell,
|
||||
|
||||
@@ -5,7 +5,22 @@ tagline: |
|
||||
vim-prettier adds Prettier support for Vim.
|
||||
---
|
||||
|
||||
To update (replacing the current version) run `webi vim-prettier`.
|
||||
To update (replacing the current version) run `webi vim-prettier`. \
|
||||
To update the config options, first remove `~/.vim/plugins/prettier.vim`
|
||||
|
||||
### Files
|
||||
|
||||
These are the files / directories that are created and/or modified with this
|
||||
install:
|
||||
|
||||
```text
|
||||
~/.vim/pack/plugins/start/vim-prettier/
|
||||
~/.vim/plugins/prettier.vim
|
||||
~/.vimrc
|
||||
```
|
||||
|
||||
If [`node`](/node) and [`prettier`](/prettier) are not found, they will be also
|
||||
installed.
|
||||
|
||||
## Cheat Sheet
|
||||
|
||||
|
||||
@@ -5,19 +5,23 @@ tagline: |
|
||||
vim-shfmt: a vim plugin for shfmt
|
||||
---
|
||||
|
||||
To update (replacing the current version) run `webi vim-shfmt`.
|
||||
To update (replacing the current version) run `webi vim-shfmt`. \
|
||||
To update the config options, first remove `~/.vim/plugins/shfmt.vim`
|
||||
|
||||
### Files
|
||||
|
||||
These are the files / directories that are created and/or modified with this
|
||||
install:
|
||||
|
||||
```text
|
||||
~/.config/envman/PATH.env
|
||||
~/.vim/pack/plugins/start/vim-shfmt/
|
||||
~/.vim/plugins/prettier.vim
|
||||
~/.vimrc
|
||||
~/.vim/pack/plugins/start/shfmt
|
||||
~/.vim/plugins/shfmt.vim
|
||||
~/.local/bin/shfmt
|
||||
~/.local/bin/shellcheck
|
||||
```
|
||||
|
||||
If [`shellcheck`](/shellcheck) and [`shfmt`](/shfmt) are not found, they will
|
||||
also be installed.
|
||||
|
||||
## Cheat Sheet
|
||||
|
||||
`vim-shfmt` uses [shfmt](https://webinstall.dev/shfmt) to format your `bash`
|
||||
|
||||
Reference in New Issue
Block a user