move the stty command out of 00_Basics
authorJoerg Jaspert <joerg@ganneff.de>
Fri, 22 Mar 2013 09:38:52 +0000 (10:38 +0100)
committerJoerg Jaspert <joerg@ganneff.de>
Fri, 22 Mar 2013 09:38:52 +0000 (10:38 +0100)
put it into the zshlate sample file, as only some people (may) need it

.zsh/.zshlate.sample [new file with mode: 0644]
.zsh/00_Basics.zsh

diff --git a/.zsh/.zshlate.sample b/.zsh/.zshlate.sample
new file mode 100644 (file)
index 0000000..15d917b
--- /dev/null
@@ -0,0 +1,4 @@
+# -*- mode: sh;-*-
+
+# Maybe you will need this.
+[[ -t 0 ]] && /bin/stty erase "^?" "^H" intr  "^C" susp "^Z" dsusp "^Y" stop "^S" start "^Q" kill "^U"  >& /dev/null
index 71a7845..2a0c12d 100644 (file)
@@ -22,9 +22,6 @@ setvar () {
 
 setvar umask 022 1
 
-# Want a halfway sane terminal
-[[ -t 0 ]] && /bin/stty erase  "^H" intr  "^C" susp "^Z" dsusp "^Y" stop "^S" start "^Q" kill "^U"  >& /dev/null
-
 # watch for everybody but me
 watch=(notme)
 # check every 5 min for login/logout activity