summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Murzov <e-mail@date.by>2011-12-20 18:24:09 +0400
committerIgor Murzov <e-mail@date.by>2011-12-20 19:56:37 +0400
commit08a2264c8253496fa7d4abfa4ff969c5ccb7de3e (patch)
tree8f4863cc679ba01147fe623dec9005d4c8109732
parentf17f31057fc2df7a1d0c60ca81f400905ccd41bb (diff)
downloadbash-completion-08a2264c8253496fa7d4abfa4ff969c5ccb7de3e.tar.gz
htop: Get user names directly with `compgen -u`.
-rw-r--r--completions/htop2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/htop b/completions/htop
index 969eb397..7735f9b5 100644
--- a/completions/htop
+++ b/completions/htop
@@ -11,7 +11,7 @@ _htop()
return
;;
-u|--user)
- _usergroup
+ COMPREPLY=( $( compgen -u -- "$cur" ) )
return
;;
-d|--delay)