1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-30 05:40:58 +01:00

21527: rename zsh-newuser-install and don't run if not loaded

This commit is contained in:
Peter Stephenson 2005-07-26 10:35:22 +00:00
parent 857c5983f8
commit 8534a97e9b
5 changed files with 36 additions and 14 deletions

View file

@ -2,5 +2,7 @@
# no startup files. See the documentation for the zsh/newuser
# module in zshmodules(1).
autoload -U zsh-install-newuser
zsh-install-newuser
if functions zsh-newuser-install >/dev/null 2>&1 ||
autoload -U +X zsh-newuser-install; then
zsh-newuser-install
fi