bash-completion-Bugs item #314630, was opened at 2014-03-18 23:33 by Samuel BAUER You can respond by visiting: https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314630&group_id=100114
Status: Open Priority: 3 Submitted By: Samuel BAUER (mazes_80-guest) Assigned to: Nobody (None) Summary: Processus names completion: fixme for processus module names Distribution: Gentoo Originally reported in: Debian BTS Milestone: None Status: None Original bug number: Initial Comment: # FIXME: completes "[kblockd/0]" to "0". Previously it was completed # to "kblockd" which isn't correct either. "kblockd/0" would be # arguably most correct, but killall from psmisc 22 treats arguments # containing "/" specially unless -r is given so that wouldn't quite # work either. Perhaps it'd be best to not complete these to anything # for now. In bash_completion script, doesn't point to any opened bug, sorry if there's already one. The attached patch replace "s:.*/::" by "/^[^[]/s:.*/::" Who won't match modules, and output desired kblockd/0 I only tested it with bash-completion-1.3 (current stable in gentoo). Hope being helpful. ---------------------------------------------------------------------- You can respond by visiting: https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314630&group_id=100114 _______________________________________________ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel