projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dedf36c
)
grmlzshrc.5: added the new OS recognition functions
author
Moviuro
<moviuro+grml@gmail.com>
Wed, 17 Sep 2014 15:45:12 +0000
(17:45 +0200)
committer
Frank Terbeck
<ft@grml.org>
Thu, 18 Sep 2014 10:02:47 +0000
(12:02 +0200)
doc/grmlzshrc.t2t
patch
|
blob
|
history
diff --git
a/doc/grmlzshrc.t2t
b/doc/grmlzshrc.t2t
index
d0462c7
..
a89d61e
100644
(file)
--- 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.
: **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.
: **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.
: **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.
: **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.
: **isutfenv()**
Returns true, if run within an utf environment, else false.