summaryrefslogtreecommitdiff
path: root/internal/parse.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'internal/parse.zsh')
-rw-r--r--internal/parse.zsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/parse.zsh b/internal/parse.zsh
index d093f851..12f96775 100644
--- a/internal/parse.zsh
+++ b/internal/parse.zsh
@@ -95,6 +95,12 @@ typeset -gA __pb_term_skip=(
';|' '\)|esac'
)
+# Usage: _parse_buffer <buffer> [token-limit]
+#
+# Parses the specified command line buffer and pupulates array P9K_COMMANDS
+# with commands from it. Terminates early and returns 1 if there are more
+# tokens than the specified limit.
+#
# Broken:
#
# ---------------