mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-09-28 15:01:21 +02:00
22783: Frank Terbeck: don't load zsh/newuser unless interactive
This commit is contained in:
parent
966ff3a185
commit
d061785438
@ -1,3 +1,8 @@
|
||||
2006-09-28 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 22783: Frank Terbeck: Src/init.c: don't load zsh/newuser
|
||||
unless interactive.
|
||||
|
||||
2006-09-27 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 22780: Completion/Base/Utility/_arguments:
|
||||
|
@ -958,7 +958,7 @@ run_init_scripts(void)
|
||||
source(GLOBAL_ZSHENV);
|
||||
#endif
|
||||
|
||||
if (isset(RCS) && unset(PRIVILEGED))
|
||||
if (isset(RCS) && isset(INTERACTIVE) && unset(PRIVILEGED))
|
||||
{
|
||||
/*
|
||||
* Always attempt to load the newuser module to perform
|
||||
|
Loading…
Reference in New Issue
Block a user