diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Modules/newuser.c | 3 | ||||
-rw-r--r-- | Src/options.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Src/Modules/newuser.c b/Src/Modules/newuser.c index cbe09312f..e49a66121 100644 --- a/Src/Modules/newuser.c +++ b/Src/Modules/newuser.c @@ -64,6 +64,9 @@ boot_(UNUSED(Module m)) 0 }; const char **sp; + if (emulation != EMULATE_ZSH) + return; + if (!dotdir) dotdir = home; diff --git a/Src/options.c b/Src/options.c index 7011b2081..9400e5f89 100644 --- a/Src/options.c +++ b/Src/options.c @@ -33,7 +33,7 @@ /* current emulation (used to decide which set of option letters is used) */ /**/ -int emulation; +mod_export int emulation; /* the options; e.g. if opts[SHGLOB] != 0, SH_GLOB is turned on */ |