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:
parent
857c5983f8
commit
8534a97e9b
5 changed files with 36 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue