From 9d4d7644a175141975524f20b72695873b6c07f4 Mon Sep 17 00:00:00 2001 From: Moviuro Date: Wed, 17 Sep 2014 17:45:12 +0200 Subject: [PATCH] grmlzshrc.5: added the new OS recognition functions --- doc/grmlzshrc.t2t | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index d0462c7..a89d61e 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -658,6 +658,9 @@ Returns true, if zsh version is equal or greater than 4.3.3, else false. : **isdarwin()** Returns true, if running on darwin, else false. +: **isfreebsd()** +Returns true, if running on FreeBSD, else false. + : **isgrml()** Returns true, if running on a grml system, else false. @@ -667,10 +670,16 @@ Returns true, if running on a grml system from a live cd, else false. : **isgrmlsmall()** Returns true, if run on grml-small, else false. +: **islinux()** +Returns true, if running on Linux, else false. + : **iso2utf()** Changes every occurrence of the string iso885915 or ISO885915 in environment variables to UTF-8. +: **isopenbsd()** +Returns true, if running on OpenBSD, else false. + : **isutfenv()** Returns true, if run within an utf environment, else false. -- 2.1.4