aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-01-12 13:54:21 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-01-12 13:54:21 +0300
commitbc0429f3bb3f63454be4ab4a01690bc0f0330409 (patch)
tree6cbfba076f841ff548cd0d34cdb5edb405d8fc94
parent856baeb6109db64db052b0560e2d7d330c89a295 (diff)
comments
-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:
#
# ---------------