]> arthur.barton.de Git - ax-zsh.git/commitdiff
plugins/README.md: Initial plugin documentation
authorAlexander Barton <alex@barton.de>
Mon, 22 Apr 2019 15:46:57 +0000 (17:46 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 22 Apr 2019 15:46:57 +0000 (17:46 +0200)
For now, only a few hints ...

plugins/README.md [new file with mode: 0644]

diff --git a/plugins/README.md b/plugins/README.md
new file mode 100644 (file)
index 0000000..2bd2598
--- /dev/null
@@ -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
+```