vcpkg bash completion mess up when in manifest mode

Created on 2 Aug 2020  路  1Comment  路  Source: microsoft/vcpkg

vcpkg bash completion mess up when in manifest mode. That is, vcpkg.json exists in the parent directory of vcpkg.

~/project$ touch vcpkg.json # Create vcpkg.json
~/project$ cd vcpkg
~/project/vcpkg$ . scripts/vcpkg_completion.bash # Enable bash completion
~/project/vcpkg$ ./vcpkg <tab><tab>

Expected Result:

cache      create     export     help       integrate  owns       search     upgrade
contact    edit       hash       install    list       remove     update     version

Actual Result:

Add                     feature                 packages
and                     `--feature-flags`       Pass
are                     `--feature-flags`.      ports
at                      flag                    README.md
bootstrap-vcpkg.bat     following:              README_zh_CN.md
bootstrap-vcpkg.sh      hash                    remove
buildtrees              help                    scripts
but                     /home/user/project,     search
cache                   If                      silence
can:                    install                 the
CHANGELOG.md            integrate               this
classic                 LICENSE.txt             to
comma-separated         list                    toolsrc
contact                 manifest                triplets
CONTRIBUTING.md         manifest-root           update
create                  `-manifests`            upgrade
detected                `manifests`             use
directory               manifests               variable
do                      may                     vcpkg
docs                    mode,                   `VCPKG_FEATURE_FLAGS`.
downloads               not                     version
edit                    NOTICE.txt              Warning:
enabled.                of                      wish
environment             one                     `--x-manifest-root`
error                   option.                 you
export                  owns                    your
vcpkg-bug

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

pakdel picture pakdel  路  3Comments

cskrisz picture cskrisz  路  3Comments

jasjuang picture jasjuang  路  3Comments

grandprixgp picture grandprixgp  路  3Comments