diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2001-03-25 23:41:02 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2001-03-25 23:41:02 +0000 |
commit | d3eca43623881efdd3034cf8089c394c81214a65 (patch) | |
tree | 7d722b3d25a217c613508f24735b47b18cdf74f6 | |
parent | 60227908e1f0d98077a56665017caa39021924af (diff) | |
download | zsh-d3eca43623881efdd3034cf8089c394c81214a65.tar.gz zsh-d3eca43623881efdd3034cf8089c394c81214a65.tar.xz zsh-d3eca43623881efdd3034cf8089c394c81214a65.zip |
Discourage use of sample startup files as /etc/z*.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | StartupFiles/zlogin | 3 | ||||
-rw-r--r-- | StartupFiles/zshenv | 3 | ||||
-rw-r--r-- | StartupFiles/zshrc | 3 |
4 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 42a78fde7..2675bd4c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-03-25 Bart Schaefer <schaefer@zsh.org> + + * 13757: StartupFiles/zlogin, StartupFiles/zshenv, + StartupFiles/zshrc: Strongly discourage use of these files as + /etc/z* drop-ins. + 2001-03-25 Peter Stephenson <pws@pwstephenson.fsnet.co.uk> * 13751: Completion/User/_cpio: added. diff --git a/StartupFiles/zlogin b/StartupFiles/zlogin index f510fd825..c1a85de28 100644 --- a/StartupFiles/zlogin +++ b/StartupFiles/zlogin @@ -8,6 +8,9 @@ # msgs, from, etc). # +# THIS FILE IS NOT INTENDED TO BE USED AS /etc/zlogin, NOR WITHOUT EDITING +return 0 # Remove this line after editing this file as appropriate + clear stty dec new cr0 -tabs ttyctl -f # freeze the terminal modes... can't change without a ttyctl -u diff --git a/StartupFiles/zshenv b/StartupFiles/zshenv index 2214b8e59..0f7bb7c3b 100644 --- a/StartupFiles/zshenv +++ b/StartupFiles/zshenv @@ -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) diff --git a/StartupFiles/zshrc b/StartupFiles/zshrc index f9c89503e..130023857 100644 --- a/StartupFiles/zshrc +++ b/StartupFiles/zshrc @@ -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) |