Skip to content

Commit 5c29cb4

Browse files
authored
jj-run: more fixes
1 parent 31cbe28 commit 5c29cb4

1 file changed

Lines changed: 7 additions & 25 deletions

File tree

jj-run/README.md

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -31,48 +31,30 @@ If you have [`want`](https://github.com/neongreen/mono/tree/main/want) and [`con
3131
want mono jj-run@main
3232

3333
# Configure the jj alias
34-
conf jj 'aliases.x' '["util", "exec", "--", "jj-run"]'
34+
conf jj aliases.x '["util", "exec", "--", "jj-run"]'
3535
```
3636

37-
### Other Installation Methods
37+
### Installation with Homebrew
3838

39-
#### Quick Install Script
40-
41-
```bash
42-
curl -fsSL https://raw.githubusercontent.com/neongreen/mono/main/install.sh | bash -s jj-run
43-
```
44-
45-
#### Via Homebrew
39+
(Nov 1, 2025: Not sure if this still works, if it doesn't please yell)
4640

4741
```bash
4842
brew tap neongreen/mono
4943
brew install jj-run
5044
```
5145

52-
#### Manual Install
53-
54-
1. Go to the [Releases](https://github.com/neongreen/mono/releases) page
55-
2. Find the release you want (e.g., `jj-run--main.1`)
56-
3. Download the binary for your platform
57-
4. Make it executable and move to your PATH:
58-
59-
```bash
60-
chmod +x jj-run
61-
sudo mv jj-run /usr/local/bin/
62-
```
63-
6446
## Usage
6547

6648
Simplest form:
6749

6850
```sh
69-
jj-run <command> # run a command on all mutable&reachable changes
51+
jj x <command> # run a command on all mutable&reachable changes
7052
```
7153

7254
Full form:
7355

7456
```sh
75-
jj-run -r <revset> [-e <error_strategy>] [-d] <command>
57+
jj x -r <revset> [-e <error_strategy>] [-d] <command>
7658
```
7759

7860
- `-r`, `--revset`: The revset of changes to process. If not provided, defaults to `reachable(@, mutable())` (same as `jj fix`).
@@ -100,10 +82,10 @@ Direct mode (`--direct` or `-d`) provides a simpler execution model that doesn't
10082
**Example:**
10183
```sh
10284
# Change the description of all mutable commits
103-
jj-run --direct -r 'mutable()' 'jj describe -m "$(jj log -r @ --no-graph -T description) [updated]"'
85+
jj x --direct -r 'mutable()' 'jj describe -m "$(jj log -r @ --no-graph -T description) [updated]"'
10486

10587
# Add a co-author to recent commits
106-
jj-run --direct -r '::@' 'jj describe -m "$(jj log -r @ --no-graph -T description)\n\nCo-authored-by: Name <email>"'
88+
jj x --direct -r '::@' 'jj describe -m "$(jj log -r @ --no-graph -T description)\n\nCo-authored-by: Name <email>"'
10789
```
10890

10991
## Limitations

0 commit comments

Comments
 (0)