diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-07-26 10:35:22 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-07-26 10:35:22 +0000 |
commit | 8534a97e9b33c9f5ceea9aa8e1408f9146bc4f68 (patch) | |
tree | 0470abd000275d9ce419ac1df8e7c4cf3f9947ea /Scripts/newuser | |
parent | 857c5983f8d460be85e380c1fd025dbb3a27b304 (diff) | |
download | zsh-8534a97e9b33c9f5ceea9aa8e1408f9146bc4f68.tar.gz zsh-8534a97e9b33c9f5ceea9aa8e1408f9146bc4f68.tar.xz zsh-8534a97e9b33c9f5ceea9aa8e1408f9146bc4f68.zip |
21527: rename zsh-newuser-install and don't run if not loaded
Diffstat (limited to 'Scripts/newuser')
-rw-r--r-- | Scripts/newuser | 6 |
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 |