[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.90-107-g08a2264
Igor Murzov
e-mail at date.by
Tue Dec 20 16:10:32 UTC 2011
The following commit has been merged in the master branch:
commit 08a2264c8253496fa7d4abfa4ff969c5ccb7de3e
Author: Igor Murzov <e-mail at date.by>
Date: Tue Dec 20 18:24:09 2011 +0400
htop: Get user names directly with `compgen -u`.
diff --git a/completions/htop b/completions/htop
index 969eb39..7735f9b 100644
--- a/completions/htop
+++ b/completions/htop
@@ -11,7 +11,7 @@ _htop()
return
;;
-u|--user)
- _usergroup
+ COMPREPLY=( $( compgen -u -- "$cur" ) )
return
;;
-d|--delay)
--
bash-completion
More information about the Bash-completion-commits
mailing list