about summary refs log tree commit diff
path: root/Scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts')
-rw-r--r--Scripts/newuser6
1 files changed, 4 insertions, 2 deletions
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