anthodev/jj.fishpublic Fork 0
6881388
Commits
Clone
git clone https://git.rickub.com/anthodev/jj.fish.git
git clone ssh://git@rickub.com/anthodev/jj.fish.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

feat: added completion for jj on tab suggestion

Cedric ANTHONY committed 2026-03-17T00:00:53+01:00 Browse files
6881388 parent: 051ee38
added completions/jj.fish +22 -0
new file mode 100644
@@ -0,0 +1,22 @@
1+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjn --description "Create new change"
2+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjnd --description "Create new change on develop"
3+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjnm --description "Create new change on main"
4+complete --command jj --no-files --condition __fish_use_subcommand --arguments jje --description "Edit a change"
5+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjs --description "Show status"
6+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjf --description "Search in log"
7+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjdm --description "Describe change with message"
8+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjr --description "Resolve conflicts"
9+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjrd --description "Rebase onto develop"
10+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjrb --description "Rebase from source"
11+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjrbd --description "Rebase from source onto develop"
12+complete --command jj --no-files --condition __fish_use_subcommand --arguments jja --description "Abandon a change"
13+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjh --description "Edit head of working copy"
14+complete --command jj --no-files --condition __fish_use_subcommand --arguments jju --description "Undo last operation"
15+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjgf --description "Git fetch"
16+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjgp --description "Git push"
17+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjba --description "Advance bookmark"
18+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjbc --description "Create a bookmark"
19+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjbt --description "Track a bookmark"
20+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjbu --description "Untrack a bookmark"
21+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjbf --description "Forget a bookmark"
22+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjbl --description "List bookmarks"
new file mode 100644
@@ -0,0 +1,22 @@
1+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjn --description "Create new change"
2+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjnd --description "Create new change on develop"
3+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjnm --description "Create new change on main"
4+complete --command jj --no-files --condition __fish_use_subcommand --arguments jje --description "Edit a change"
5+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjs --description "Show status"
6+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjf --description "Search in log"
7+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjdm --description "Describe change with message"
8+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjr --description "Resolve conflicts"
9+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjrd --description "Rebase onto develop"
10+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjrb --description "Rebase from source"
11+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjrbd --description "Rebase from source onto develop"
12+complete --command jj --no-files --condition __fish_use_subcommand --arguments jja --description "Abandon a change"
13+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjh --description "Edit head of working copy"
14+complete --command jj --no-files --condition __fish_use_subcommand --arguments jju --description "Undo last operation"
15+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjgf --description "Git fetch"
16+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjgp --description "Git push"
17+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjba --description "Advance bookmark"
18+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjbc --description "Create a bookmark"
19+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjbt --description "Track a bookmark"
20+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjbu --description "Untrack a bookmark"
21+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjbf --description "Forget a bookmark"
22+complete --command jj --no-files --condition __fish_use_subcommand --arguments jjbl --description "List bookmarks"