From ab7eb1ebf4f6c7718c92ae416f75ec662405f9ab Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Mon, 22 Apr 2019 17:46:57 +0200 Subject: [PATCH] plugins/README.md: Initial plugin documentation For now, only a few hints ... --- plugins/README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 plugins/README.md diff --git a/plugins/README.md b/plugins/README.md new file mode 100644 index 0000000..2bd2598 --- /dev/null +++ b/plugins/README.md @@ -0,0 +1,21 @@ +AX-ZSH: Alex' Modular ZSH Configuration - Plugin Documentation +============================================================== + +Plugin Exit Codes +----------------- + +- 0: OK +- 1: Error +- 91: Ignore +- 92: Optional + + +Detecting "Plugin Check" Run +---------------------------- + +When `axzshctl check-plugins` is doing a _plugin check_ run, the enviromnet +variable `AXZSH_PLUGIN_CHECK` is "non-zero"; this can be tested like this: + +``` +[[ -z "$AXZSH_PLUGIN_CHECK" ]] || return 92 +``` -- 2.39.2