Bug#895449: [Pkg-zsh-devel] Bug#895449: zsh: mv completion fails with "missing file operand"

2018-04-11 Thread sergio

On 11/04/18 19:09, Axel Beckert wrote:

Sorry, but I did not understand, what can and what can not be reproduced?



Especially the latter shows that this is completely independent of the
aliasing.


Yes, sorry for misrepresentation, it doesn't depend on alias.

The only thing I'm sure is that this has been broken after the last update.

--
sergio.



Bug#895449: [Pkg-zsh-devel] Bug#895449: zsh: mv completion fails with "missing file operand"

2018-04-11 Thread sergio

I've found it!

There was an _mv function in my .zshrc, which was not used:

function _mv
{
...
}
#alias mv='_mv'


all works fine after commenting out the function itself.


--
sergio.



Bug#895449: [Pkg-zsh-devel] Bug#895449: zsh: mv completion fails with "missing file operand"

2018-04-11 Thread Axel Beckert
Control: tag -1 unreproducible moreinfo

Hi,

sergio wrote:
> % alias mv
> mv='mv --interactive'
> 
> % which mv
> mv: aliased to mv --interactive
> 
> % ls =mv
> /bin/mv*

While I can reproduce all these three after

% alias mv='mv --interactive'

I still cannot reproduce these:

> % mv  mv: missing file operand
> Try 'mv --help' for more information.
[...]
> % /bin/mv  mv: missing file operand
> Try 'mv --help' for more information.

Especially the latter shows that this is completely independent of the
aliasing.

Is there a chance that this happened inside a zsh 5.4.2 which was
already running before you upgraded the package to 5.5-1 and that this
causes this issue. (At least it is known that not yet used/loaded
completions fail if the zsh upstream version has been bumped while zsh
process was still running.)

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE