From 8534a97e9b33c9f5ceea9aa8e1408f9146bc4f68 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 26 Jul 2005 10:35:22 +0000 Subject: 21527: rename zsh-newuser-install and don't run if not loaded --- Scripts/newuser | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Scripts') diff --git a/Scripts/newuser b/Scripts/newuser index 47add8ed1..b5d742103 100644 --- a/Scripts/newuser +++ b/Scripts/newuser @@ -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 -- cgit 1.4.1