1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 04:30:24 +02:00

21500: Add script and function as framework for new user stuff.

This commit is contained in:
Peter Stephenson 2005-07-20 18:08:39 +00:00
parent a4e534dcbc
commit 3d5bececac
7 changed files with 75 additions and 16 deletions

View file

@ -0,0 +1,11 @@
# Function to install startup files for a new user.
# This dummy version simply creates a new .zshrc with a comment.
# FIXME: we don't want to distribute a file that does that, it
# would be preferable to do nothing at all.
# Sanitize environment.
emulate -L zsh
echo "# Created by newuser for $ZSH_VERSION" >${ZDOTDIR:-$HOME}/.zshrc
unfunction zsh-install-newuser