Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Dec 7, 2023
1 parent 78a908d commit ac1234f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
6 changes: 6 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"MD013": false,
"MD033": false,
"MD040": false,
"MD041": false
}
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ v20.0.0
- [IDE Integration](#ide-integration)
- [Core Plugins](#core-plugins)
- [FAQs](#faqs)
- [I don't want to put a `.tool-versions` file into my project since git shows it as an untracked file.](#i-dont-want-to-put-a-tool-versions-file-into-my-project-since-git-shows-it-as-an-untracked-file)
- [I don't want to put a `.tool-versions` file into my project since git shows it as an untracked file](#i-dont-want-to-put-a-tool-versions-file-into-my-project-since-git-shows-it-as-an-untracked-file)
- [What is the difference between "nodejs" and "node" (or "golang" and "go")?](#what-is-the-difference-between-nodejs-and-node-or-golang-and-go)
- [What does `rtx activate` do?](#what-does-rtx-activate-do)
- [`rtx activate` doesn't work in `~/.profile`, `~/.bash_profile`, `~/.zprofile`](#rtx-activate-doesnt-work-in-profile-bash_profile-zprofile)
Expand Down Expand Up @@ -221,16 +221,18 @@ See [plugins](#plugins) below.

### Common commands

rtx install [email protected] Install a specific version number
rtx install node@20 Install a fuzzy version number
rtx use node@20 Use node-20.x in current project
rtx use -g node@20 Use node-20.x as global default
```text
rtx install [email protected] Install a specific version number
rtx install node@20 Install a fuzzy version number
rtx use node@20 Use node-20.x in current project
rtx use -g node@20 Use node-20.x as global default
rtx install node Install the current version specified in .tool-versions/.rtx.toml
rtx use node@latest Use latest node in current directory
rtx use -g node@system Use system node as global default
rtx install node Install the current version specified in .tool-versions/.rtx.toml
rtx use node@latest Use latest node in current directory
rtx use -g node@system Use system node as global default
rtx x node@20 -- node app.js Run `node app.js` node-20.x on PATH
rtx x node@20 -- node app.js Run `node app.js` node-20.x on PATH
```

## Installation

Expand Down Expand Up @@ -1609,7 +1611,7 @@ behavior.

### `rtx activate [OPTIONS] [SHELL_TYPE]`

```
```text
Initializes rtx in the current shell
This should go into your shell's rc file.
Expand Down Expand Up @@ -1650,7 +1652,7 @@ Examples:

### `rtx alias get <PLUGIN> <ALIAS>`

```
```text
Show an alias for a plugin
This is the contents of an alias.<PLUGIN> entry in ~/.config/rtx/config.toml
Expand All @@ -1671,7 +1673,7 @@ Examples:

### `rtx alias ls [PLUGIN]`

```
```text
List aliases
Shows the aliases that can be specified.
These can come from user config or from plugins in `bin/list-aliases`.
Expand Down

0 comments on commit ac1234f

Please sign in to comment.