summaryrefslogtreecommitdiff
path: root/00_Preamble.zsh
diff options
context:
space:
mode:
authorhugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913>2006-08-20 19:50:12 +0000
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:09 +0100
commit46ac6b2c967768aafe50a5446aab2241ddbcff69 (patch)
tree05c0007a21eaf529518e2bd77f4fb18170139986 /00_Preamble.zsh
parent01b231dc56c2335481644728405c7aba037f1f5e (diff)
Grand ménage dans la conf Zsh
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@255 a0e5b806-a6f9-0310-978d-cbce73f8a913
Diffstat (limited to '00_Preamble.zsh')
-rw-r--r--00_Preamble.zsh33
1 files changed, 33 insertions, 0 deletions
diff --git a/00_Preamble.zsh b/00_Preamble.zsh
new file mode 100644
index 0000000..b3d794e
--- /dev/null
+++ b/00_Preamble.zsh
@@ -0,0 +1,33 @@
+#!/bin/zsh
+##
+## Part of configuration files for Zsh 4
+## by Hugues Hiegel <hugues@nullpart.net>
+##
+## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS
+##
+## You are encouraged to use, modify, and redistribute
+## these files with or without this notice.
+##
+## No more core dumps :)
+ulimit -c 0
+umask 002
+
+##
+## sanity
+##
+[[ -t 0 ]] && /bin/stty erase "^H" intr "^C" susp "^Z" dsusp "^Y" stop "^S" start "^Q" kill "^U" >& /dev/null
+
+
+# Variables utiles
+
+ _color_black=\033[30m
+ _color_red=\033[31m
+ _color_green=\033[32m
+ _color_yellow=\033[33m
+ _color_blue=\033[34m
+_color_magenta=\033[35m
+ _color_cyan=\033[36m
+
+ _unset_color=\033[0m
+ _color_bold=\033[1m
+_color_underline=\033[4m