os x fix for plugins-help()
authorFlorian Baumann <flo@noqqe.de>
Mon, 8 Nov 2010 20:40:16 +0000 (21:40 +0100)
committerFlorian Baumann <flo@noqqe.de>
Mon, 8 Nov 2010 20:40:16 +0000 (21:40 +0100)
plugins/base.plugin.bash

index 1e73df5..9eceaf9 100644 (file)
@@ -80,7 +80,7 @@ function plugins-help() {
     | grep -v "GROUPS=()" \
     | grep -v "BASH_CMDS=()" \
     | grep -v "BASH_ALIASES=()" \
-    | sed -e "s/()//"
+    | grep -v "COMPREPLY=()" | sed -e "s/()//"
 }