diff --git a/completions/just.bash b/completions/just.bash index f52183d..929746b 100644 --- a/completions/just.bash +++ b/completions/just.bash @@ -29,7 +29,7 @@ _just() { done case "${cmd}" in - "$1") + just) opts="-n -f -q -u -v -d -c -e -l -s -E -g -h -V --check --chooser --color --command-color --yes --dry-run --dump-format --highlight --list-heading --list-prefix --no-aliases --no-deps --no-dotenv --no-highlight --justfile --quiet --set --shell --shell-arg --shell-command --clear-shell-args --unsorted --unstable --verbose --working-directory --changelog --choose --command --completions --dump --edit --evaluate --fmt --init --list --groups --man --show --summary --variables --dotenv-filename --dotenv-path --global-justfile --help --version [ARGUMENTS]..." if [[ ${cur} == -* ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) diff --git a/src/completions.rs b/src/completions.rs index 74d0eb5..bc8564b 100644 --- a/src/completions.rs +++ b/src/completions.rs @@ -202,7 +202,6 @@ pub(crate) const BASH_COMPLETION_REPLACEMENTS: &[(&str, &str)] = &[ fi fi"#, ), - (r" just)", r#" "$1")"#), ( r"local i cur prev opts cmd", r"local i cur prev words cword opts cmd",