[Bug 403717] Re: tab-completion for kill builtin slightly lacking.

2014-11-29 Thread Peter Cordes
I don't think numerical sorting is possible.  _kill() is getting its list of 
pids from
ps axo pid=
which returns a numerically sorted list, but I guess bash is lexicographically 
sorting completions like it always does.

 It would be possible to add completion for %jobnum, but would you
really use that?  It could only return a list of job numbers, not what
commands they were.  Given that job numbers tend to be very small and
nearby, if you don't know what job you want to kill, a list of the
numbers is unlikely to save you running a quick  jobs  command.

 Or do some people keep running a chain of background jobs so their job
numbers climb so high that you want to complete the initial 100 in front
of job 1005?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/403717

Title:
  tab-completion for kill builtin slightly lacking.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/403717/+subscriptions

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


[Bug 403717] Re: tab-completion for kill builtin slightly lacking.

2011-03-20 Thread Clint Byrum
This is still true as of now in natty, w/ v1.3 of bash-completion.

** Changed in: bash-completion (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/403717

Title:
  tab-completion for kill builtin slightly lacking.

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


[Bug 403717] Re: tab-completion for kill builtin slightly lacking.

2009-11-22 Thread Brian Curtis
** Changed in: bash-completion (Ubuntu)
   Importance: Undecided = Wishlist

-- 
tab-completion for kill builtin slightly lacking.
https://bugs.launchpad.net/bugs/403717
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