[Pkg-javascript-devel] Bug#711810: npm: bash completion script clobbers $COMP_WORDBREAKS

Anthony Fok foka at debian.org
Sat Aug 15 19:25:50 UTC 2015


Good news!

This bug regarding npm's bash completion script clobbering
$COMP_WORDBREAKS has been fixed and committed upstream.  According to
Forrest L Norvell (@othiym23)
replying to the the corresponding upstream GitHub issue #4530 "Shell
completion script breaks bash's environment variable assignment
filesystem path completion"[1]:

    There is a fix landed to the completion script in d7271b8 [2]
    – the lib/utils/completion.sh included in the tree at that
    version (which will be part of the next npm at 2 release,
    coming out later tonight as npm at next) fixes this issue.

The fix has been pushed to the @latest npm at 2.13.5,
which can be fetched by a simple "npm install npm".

Please consider upgrading to 2.13.5 (See also Bug#794890),
or at least fetch the lib/utils/completion.sh therein and
put it in Debian's current npm-1.4.21.

[1] https://github.com/npm/npm/issues/4530
[2] https://github.com/npm/npm/commit/d7271b8226712479cdd339bf85faf7e394923e0d

Many thanks!

Anthony



More information about the Pkg-javascript-devel mailing list