about summary refs log tree commit diff
path: root/Functions/Newuser/zsh-install-newuser
blob: 40bba720da5511666cea180e4a672dbc1bf077f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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