From 7538dfd75637e050ff6b0138e3bdcf4c8e240d61 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Mon, 15 Aug 2022 21:42:54 -0400 Subject: [PATCH] snapshot 2022-11-20 --- .bash_rc.d/99.jj.completions.bash | 2999 +++++++++++++++++++++++++++ .zshrc | 16 + nix/darwin/darwin-configuration.nix | 2 + result | 1 - 4 files changed, 3017 insertions(+), 1 deletion(-) create mode 100644 .bash_rc.d/99.jj.completions.bash delete mode 120000 result diff --git a/.bash_rc.d/99.jj.completions.bash b/.bash_rc.d/99.jj.completions.bash new file mode 100644 index 0000000..d0fe8bc --- /dev/null +++ b/.bash_rc.d/99.jj.completions.bash @@ -0,0 +1,2999 @@ +_jj() { + local i cur prev opts cmds + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + cmd="" + opts="" + + for i in ${COMP_WORDS[@]} + do + case "${i}" in + "$1") + cmd="jj" + ;; + abandon) + cmd+="__abandon" + ;; + add) + cmd+="__add" + ;; + backout) + cmd+="__backout" + ;; + bench) + cmd+="__bench" + ;; + branch) + cmd+="__branch" + ;; + checkout) + cmd+="__checkout" + ;; + clone) + cmd+="__clone" + ;; + close) + cmd+="__close" + ;; + commonancestors) + cmd+="__commonancestors" + ;; + completion) + cmd+="__completion" + ;; + create) + cmd+="__create" + ;; + debug) + cmd+="__debug" + ;; + delete) + cmd+="__delete" + ;; + describe) + cmd+="__describe" + ;; + diff) + cmd+="__diff" + ;; + duplicate) + cmd+="__duplicate" + ;; + edit) + cmd+="__edit" + ;; + export) + cmd+="__export" + ;; + fetch) + cmd+="__fetch" + ;; + files) + cmd+="__files" + ;; + forget) + cmd+="__forget" + ;; + git) + cmd+="__git" + ;; + help) + cmd+="__help" + ;; + import) + cmd+="__import" + ;; + index) + cmd+="__index" + ;; + init) + cmd+="__init" + ;; + isancestor) + cmd+="__isancestor" + ;; + list) + cmd+="__list" + ;; + log) + cmd+="__log" + ;; + mangen) + cmd+="__mangen" + ;; + merge) + cmd+="__merge" + ;; + move) + cmd+="__move" + ;; + new) + cmd+="__new" + ;; + obslog) + cmd+="__obslog" + ;; + open) + cmd+="__open" + ;; + operation) + cmd+="__operation" + ;; + print) + cmd+="__print" + ;; + push) + cmd+="__push" + ;; + rebase) + cmd+="__rebase" + ;; + reindex) + cmd+="__reindex" + ;; + remote) + cmd+="__remote" + ;; + remove) + cmd+="__remove" + ;; + resolveprefix) + cmd+="__resolveprefix" + ;; + resolverev) + cmd+="__resolverev" + ;; + restore) + cmd+="__restore" + ;; + set) + cmd+="__set" + ;; + show) + cmd+="__show" + ;; + sparse) + cmd+="__sparse" + ;; + split) + cmd+="__split" + ;; + squash) + cmd+="__squash" + ;; + status) + cmd+="__status" + ;; + template) + cmd+="__template" + ;; + touchup) + cmd+="__touchup" + ;; + undo) + cmd+="__undo" + ;; + unsquash) + cmd+="__unsquash" + ;; + untrack) + cmd+="__untrack" + ;; + walkrevs) + cmd+="__walkrevs" + ;; + workingcopy) + cmd+="__workingcopy" + ;; + workspace) + cmd+="__workspace" + ;; + *) + ;; + esac + done + + case "${cmd}" in + jj) + opts="-V -R -h --version --repository --no-commit-working-copy --at-op --at-operation --color --help init checkout untrack files print diff show status log obslog describe close open duplicate abandon edit new move squash unsquash restore touchup split merge rebase backout branch undo operation workspace sparse git bench debug help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__abandon) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help ..." + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__backout) + opts="-r -d -R -h --revision --destination --repository --no-commit-working-copy --at-op --at-operation --color --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --revision) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -r) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --destination) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -d) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__bench) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help commonancestors isancestor walkrevs resolveprefix help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__bench__commonancestors) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__bench__help) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help ..." + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__bench__isancestor) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__bench__resolveprefix) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__bench__walkrevs) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__branch) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help create delete forget list set help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__branch__create) + opts="-r -R -h --revision --repository --no-commit-working-copy --at-op --at-operation --color --help ..." + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --revision) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -r) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__branch__delete) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help ..." + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__branch__forget) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help ..." + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__branch__help) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help ..." + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__branch__list) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__branch__set) + opts="-r -R -h --revision --allow-backwards --repository --no-commit-working-copy --at-op --at-operation --color --help ..." + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --revision) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -r) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__checkout) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__close) + opts="-m -e -R -h --message --edit --repository --no-commit-working-copy --at-op --at-operation --color --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --message) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -m) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__debug) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help completion mangen resolverev workingcopy template index reindex operation help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__debug__completion) + opts="-R -h --bash --fish --zsh --repository --no-commit-working-copy --at-op --at-operation --color --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__debug__help) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help ..." + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__debug__index) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__debug__mangen) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__debug__operation) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__debug__reindex) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__debug__resolverev) + opts="-r -R -h --revision --repository --no-commit-working-copy --at-op --at-operation --color --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --revision) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -r) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --repository) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -R) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-operation) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --at-op) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --color) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + jj__debug__template) + opts="-R -h --repository --no-commit-working-copy --at-op --at-operation --color --help