Your message dated Sat, 15 Sep 2018 18:40:53 +0530 with message-id <[email protected]> and subject line Re: npm: bash completion script clobbers $COMP_WORDBREAKS has caused the Debian Bug report #711810, regarding npm: bash completion script clobbers $COMP_WORDBREAKS to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 711810: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711810 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: npm Version: 1.1.4~dfsg-2 Severity: important Tags: upstream While investigating another bug related to $COMP_WORDBREAKS, I noticed the following: $ echo $COMP_WORDBREAKS "'@><=;|&(: $ . /etc/bash_completion $ echo $COMP_WORDBREAKS "'><;|&(: That's due to the following code from /etc/bash_completion.d/npm: COMP_WORDBREAKS=${COMP_WORDBREAKS/=/} COMP_WORDBREAKS=${COMP_WORDBREAKS/@/} export COMP_WORDBREAKS I assume the intent is to change how wordbreaking works in the npm completion script (so that e.g. "npm ls =isaa" can complete to "npm ls =isaacs"). See the definition of "__get_comp_words_by_ref -n @=" in /etc/bash_completion for a better way to do that, which doesn't clobber state used by other completion scripts. Thanks and hope that helps, Jonathan
--- End Message ---
--- Begin Message ---Control: fixed -1 5.8.0+ds-1 On Sat, 15 Aug 2015 13:25:50 -0600 Anthony Fok <[email protected]> wrote: > 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@2 release, > coming out later tonight as npm@next) fixes this issue. > > The fix has been pushed to the @latest [email protected], > 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. We have 5.8.0 in the archive now.
--- End Message ---
-- Pkg-javascript-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
