Changing the binding of autocompletion function to command from this:
  complete -F _chown $filenames chown
to this:
  complete -F _chown -o nospace chown
avoids both the quotting of the colon and the adding of a trailing space added 
(both actions are performed by Bash's autocompletion features, so the package 
selection is probably right).

The relevant line is in /etc/bash_completion.

The problem of this solution is that it breaks the proper filename
completion for 'chown'.

-- 
TAB autocomplete does not work correctly for "chown user:group"
https://bugs.launchpad.net/bugs/255058
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to