On Tue, Apr 03, 2018 at 10:03:30AM -0400, Siteshwar Vashisht wrote:
> $ mkdir testdir
> $ cp rpmall.txt rpmshort.txt $_ # Use tab completion to complete filenames
> cp: target '_filedir' is not a directory
>
> Last command fails because tab completing 'cp' command modifies value of
> '$_'. Shall value of '$_' be modified if a command gets executed in
> background ?
Sounds like bash-completion (which is a totally separate project from
bash) strikes again.