Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: nimrod proofing



On Mar 25,  9:39pm, Peter Stephenson wrote:
} Subject: Re: Moving completion functions
}
} > > [...] maybe even put a "return 0"
} > > at the top of each file just in case some nimrod copies them to /etc/
} 
} As far as I'm concerned a nimrod is (a) a hunter mentioned in Genesis

``... the first who claimed to be a "mighty one in the earth."'' according
to Easton's 1897 Bible Dictionary (see http://www.dict.org/).

Hence a nimrod is someone who overestimates his own power or ability.  I
don't remember where I first heard that usage ...

} but if someone wants to do that that's fine by me.

Index: StartupFiles/zlogin
===================================================================
--- StartupFiles/zlogin	1998/06/01 17:08:46	1.1.1.1
+++ StartupFiles/zlogin	2001/03/25 23:21:34
@@ -8,6 +8,9 @@
 # msgs, from, etc).
 #
 
+# THIS FILE IS NOT INTENDED TO BE USED AS /etc/zlogin, NOR WITHOUT EDITING
+return 0+
 clear
 stty dec new cr0 -tabs
 ttyctl -f  # freeze the terminal modes... can't change without a ttyctl -u
Index: StartupFiles/zshenv
===================================================================
--- StartupFiles/zshenv	1998/06/01 17:08:46	1.1.1.1
+++ StartupFiles/zshenv	2001/03/25 23:22:11
@@ -9,6 +9,9 @@
 # output or assume the shell is attached to a tty.
 #
 
+# THIS FILE IS NOT INTENDED TO BE USED AS /etc/zshenv, NOR WITHOUT EDITING
+return 0	# Remove this line after editing this file as appropriate
+
 export X11HOME=/usr/X11
 
 path=($X11HOME/bin)
Index: StartupFiles/zshrc
===================================================================
--- StartupFiles/zshrc	1998/06/01 17:08:46	1.1.1.1
+++ StartupFiles/zshrc	2001/03/25 23:21:58
@@ -6,6 +6,9 @@
 # options, key bindings, etc.
 #
 
+# THIS FILE IS NOT INTENDED TO BE USED AS /etc/zshrc, NOR WITHOUT EDITING
+return 0	# Remove this line after editing this file as appropriate
+
 # Search path for the cd command
 cdpath=(.. ~ ~/src ~/zsh)
 


-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author