diff options
Diffstat (limited to 'etc/functions')
-rw-r--r-- | etc/functions/die | 2 | ||||
-rw-r--r-- | etc/functions/info | 1 | ||||
-rw-r--r-- | etc/functions/warn | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/etc/functions/die b/etc/functions/die new file mode 100644 index 0000000..6aadfaf --- /dev/null +++ b/etc/functions/die @@ -0,0 +1,2 @@ +echo -e "${fail}${*}${reset}" +exit 1 diff --git a/etc/functions/info b/etc/functions/info new file mode 100644 index 0000000..b04951c --- /dev/null +++ b/etc/functions/info @@ -0,0 +1 @@ +echo -e "${info}${*}${reset}" diff --git a/etc/functions/warn b/etc/functions/warn new file mode 100644 index 0000000..ff8c7d3 --- /dev/null +++ b/etc/functions/warn @@ -0,0 +1 @@ +echo -e "${warn}${*}${reset}" |