[Bug 1095180] Re: incorrect bash-completion for sudo
It's a corner case of a directory in the current directory having the same name as a command. The directory entry is superseding the command completion. If you sudo ettab you get a list of completions. In /etc, the only entry for etckeeper is with a trailing /, rather than having an entry for the command AND an entry for the directory. If you are cded to somewhere without an etckeeper directory present, etckeeper is fine. This happens with completion for any commands flagged to take another command as their first argument. simple testcase: mkdir apt-g{,et} nice apt-gtab = lists apt-g/ apt-get/ nice apt-getab = nice apt-get/ Probably fixable without disabling completing filenames as a fallback, IDK. _command_offset() is pretty complex, I'm prob. not going to try to fix it myself. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to etckeeper in Ubuntu. https://bugs.launchpad.net/bugs/1095180 Title: incorrect bash-completion for sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1095180/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1095180] Re: incorrect bash-completion for sudo
The bug is in the core code of bash_completion, in the functions that handle commands that take other commands as their arguments, e.g. sudo, nice, and so on. Marked invalid for the etckeeper package, but still confirmed for bash-completion. (I hope I'm doing this right. If there's a way to un-assign it from etckeeper altogether, that would be best). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to etckeeper in Ubuntu. https://bugs.launchpad.net/bugs/1095180 Title: incorrect bash-completion for sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1095180/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1095180] Re: incorrect bash-completion for sudo
reported upstream as https://alioth.debian.org/tracker/index.php?func=detailaid=314893group_id=100114atid=413095 ** Bug watch added: alioth.debian.org/ #314893 http://alioth.debian.org/support/tracker.php?aid=314893 ** Changed in: etckeeper (Ubuntu) Status: Confirmed = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to etckeeper in Ubuntu. https://bugs.launchpad.net/bugs/1095180 Title: incorrect bash-completion for sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1095180/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1095180] Re: incorrect bash-completion for sudo
It's a corner case of a directory in the current directory having the same name as a command. The directory entry is superseding the command completion. If you sudo ettab you get a list of completions. In /etc, the only entry for etckeeper is with a trailing /, rather than having an entry for the command AND an entry for the directory. If you are cded to somewhere without an etckeeper directory present, etckeeper is fine. This happens with completion for any commands flagged to take another command as their first argument. simple testcase: mkdir apt-g{,et} nice apt-gtab = lists apt-g/ apt-get/ nice apt-getab = nice apt-get/ Probably fixable without disabling completing filenames as a fallback, IDK. _command_offset() is pretty complex, I'm prob. not going to try to fix it myself. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1095180 Title: incorrect bash-completion for sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1095180/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1095180] Re: incorrect bash-completion for sudo
The bug is in the core code of bash_completion, in the functions that handle commands that take other commands as their arguments, e.g. sudo, nice, and so on. Marked invalid for the etckeeper package, but still confirmed for bash-completion. (I hope I'm doing this right. If there's a way to un-assign it from etckeeper altogether, that would be best). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1095180 Title: incorrect bash-completion for sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1095180/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1095180] Re: incorrect bash-completion for sudo
reported upstream as https://alioth.debian.org/tracker/index.php?func=detailaid=314893group_id=100114atid=413095 ** Bug watch added: alioth.debian.org/ #314893 http://alioth.debian.org/support/tracker.php?aid=314893 ** Changed in: etckeeper (Ubuntu) Status: Confirmed = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1095180 Title: incorrect bash-completion for sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1095180/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1095180] Re: incorrect bash-completion for sudo
** Changed in: bash-completion (Ubuntu) Status: New = Confirmed ** Tags added: trusty -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to etckeeper in Ubuntu. https://bugs.launchpad.net/bugs/1095180 Title: incorrect bash-completion for sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1095180/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1095180] Re: incorrect bash-completion for sudo
** Changed in: bash-completion (Ubuntu) Status: New = Confirmed ** Tags added: trusty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1095180 Title: incorrect bash-completion for sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1095180/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs