summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/functions/die3
-rw-r--r--etc/functions/fdie3
-rw-r--r--etc/functions/warn3
3 files changed, 6 insertions, 3 deletions
diff --git a/etc/functions/die b/etc/functions/die
index 6aadfaf..5792d4b 100644
--- a/etc/functions/die
+++ b/etc/functions/die
@@ -1,2 +1,3 @@
-echo -e "${fail}${*}${reset}"
+## vim:ft=zsh
+echo -e "${fail}${*}${reset}" > /dev/stderr
exit 1
diff --git a/etc/functions/fdie b/etc/functions/fdie
index 10c4ed5..e96aeef 100644
--- a/etc/functions/fdie
+++ b/etc/functions/fdie
@@ -1,2 +1,3 @@
-echo -e "${fail}${*}${reset}"
+## vim:ft=zsh
+echo -e "${fail}${*}${reset}" > /dev/stderr
return 1
diff --git a/etc/functions/warn b/etc/functions/warn
index ff8c7d3..4180025 100644
--- a/etc/functions/warn
+++ b/etc/functions/warn
@@ -1 +1,2 @@
-echo -e "${warn}${*}${reset}"
+## vim:ft=zsh
+echo -e "${warn}${*}${reset}" > /dev/stderr