feat: added completion for jj on tab suggestion
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" | ||