update #4455, regenerate commands' docs and update make_docs script (#4586)

* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
This commit is contained in:
Justin Ma
2022-02-22 01:26:00 +08:00
committed by GitHub
parent 2e167ea0c6
commit c0a1d18e3d
331 changed files with 234 additions and 328 deletions

View File

@ -14,3 +14,19 @@ Hide symbols in the current scope
- `pattern`: import pattern
## Examples
Hide the alias just defined
```shell
> alias lll = ls -l; hide lll
```
Hide a custom command
```shell
> def say-hi [] { echo 'Hi!' }; hide say-hi
```
Hide an environment variable
```shell
> let-env HZ_ENV_ABC = 1; hide HZ_ENV_ABC; 'HZ_ENV_ABC' in (env).name
```