@@ -756,9 +756,6 @@ foreach set_shell_startup [list {} 0 1] {
756756 lappend ans [list set BASH_ENV $install_initdir/bash]
757757 }
758758 lappend ans [list set MODULESHOME $moduleshome]
759- if {$shell eq {zsh} && $install_setzshfpath eq {y}} {
760- lappend ans [list set FPATH $install_zshcompletiondir]
761- }
762759 if {$shell eq {ksh}} {
763760 lappend ans [list set FPATH $install_initdir/ksh-functions]
764761 }
@@ -782,9 +779,6 @@ foreach set_shell_startup [list {} 0 1] {
782779 lappend ans [list set BASH_ENV $install_initdir/bash]
783780 }
784781 lappend ans [list set MODULESHOME $moduleshome]
785- if {$shell eq {zsh} && $install_setzshfpath eq {y}} {
786- lappend ans [list set FPATH $install_zshcompletiondir]
787- }
788782 if {$shell eq {ksh}} {
789783 lappend ans [list set FPATH $install_initdir/ksh-functions]
790784 }
@@ -1020,16 +1014,13 @@ if {(!$insmodspath || $modspath_exinstalled) && (!$insmodrc || $modrc_exinstalle
10201014 set ans [list]
10211015 lappend ans [list [set "func_$shell"]]
10221016 if {!$insmodspath && !$insmodrc} {
1023- if {$shell in {ksh zsh } && $install_versioning eq "y"} {
1017+ if {$shell eq {ksh} && $install_versioning eq "y"} {
10241018 if {$change_manpath} {
10251019 lappend ans [list set MANPATH $updatedmanpath]
10261020 }
10271021 lappend ans [list set LOADEDMODULES ""]
10281022 lappend ans [list set MODULESHOME $moduleshome]
10291023 lappend ans [list set MODULE_VERSION "(.*)"]
1030- if {$shell eq {zsh} && $install_setzshfpath eq {y}} {
1031- lappend ans [list set FPATH $install_zshcompletiondir]
1032- }
10331024 if {$shell eq {ksh}} {
10341025 lappend ans [list set FPATH $install_initdir/ksh-functions]
10351026 }
@@ -1075,9 +1066,6 @@ if {(!$insmodspath || $modspath_exinstalled) && (!$insmodrc || $modrc_exinstalle
10751066 }
10761067 lappend ans [list set MODULESHOME $moduleshome]
10771068 lappend ans [list set LOADEDMODULES ""]
1078- if {$shell eq {zsh} && $install_setzshfpath eq {y}} {
1079- lappend ans [list set FPATH $install_zshcompletiondir]
1080- }
10811069 if {$shell eq {ksh}} {
10821070 lappend ans [list set FPATH $install_initdir/ksh-functions]
10831071 }
@@ -1098,9 +1086,6 @@ if {(!$insmodspath || $modspath_exinstalled) && (!$insmodrc || $modrc_exinstalle
10981086 if {$install_versioning eq "y"} {
10991087 lappend ans [list set MODULE_VERSION_STACK "(.*)"]
11001088 }
1101- if {$shell eq {zsh} && $install_setzshfpath eq {y}} {
1102- lappend ans [list set FPATH $install_zshcompletiondir]
1103- }
11041089 if {$shell eq {ksh} || $shell eq {sh} || $shell eq {bash}} {
11051090 lappend ans [list set FPATH $install_initdir/ksh-functions]
11061091 }
@@ -1133,9 +1118,6 @@ if {(!$insmodspath || $modspath_exinstalled) && (!$insmodrc || $modrc_exinstalle
11331118 lappend ans [list unset __MODULES_AUTOINIT_INPROGRESS]
11341119 lappend ans [list set _LMFILES_ "$install_modulefilesdir/null"]
11351120 lappend ans [list set MODULESHOME $moduleshome/init]
1136- if {$shell eq {zsh} && $install_setzshfpath eq {y}} {
1137- lappend ans [list set FPATH $install_zshcompletiondir]
1138- }
11391121 lappend ans [list set LOADEDMODULES null]
11401122 if {$shell eq {ksh} || $shell eq {sh} || $shell eq {bash}} {
11411123 lappend ans [list set FPATH $install_initdir/ksh-functions]
@@ -1170,9 +1152,6 @@ if {(!$insmodspath || $modspath_exinstalled) && (!$insmodrc || $modrc_exinstalle
11701152 }
11711153 lappend ans [list set MODULESHOME $moduleshome]
11721154 lappend ans [list set LOADEDMODULES ""]
1173- if {$shell eq {zsh} && $install_setzshfpath eq {y}} {
1174- lappend ans [list set FPATH $install_zshcompletiondir]
1175- }
11761155 if {$shell eq {ksh}} {
11771156 lappend ans [list set FPATH $install_initdir/ksh-functions]
11781157 }
@@ -1208,9 +1187,6 @@ if {(!$insmodspath || $modspath_exinstalled) && (!$insmodrc || $modrc_exinstalle
12081187 if {$shell eq {ksh}} {
12091188 lappend ans [list set FPATH $install_initdir/ksh-functions]
12101189 }
1211- if {$shell eq {zsh} && $install_setzshfpath eq {y}} {
1212- lappend ans [list set FPATH $install_zshcompletiondir]
1213- }
12141190 lappend ans [list set __MODULES_LMINIT $lminit_modrc_exinstalled]
12151191 lappend ans [list set MODULEPATH "$install_modulepath"]
12161192 if {$install_versioning eq "y"} {
@@ -1229,9 +1205,6 @@ if {(!$insmodspath || $modspath_exinstalled) && (!$insmodrc || $modrc_exinstalle
12291205 if {$shell eq {ksh} || $shell eq {sh} || $shell eq {bash}} {
12301206 lappend ans [list set FPATH $install_initdir/ksh-functions]
12311207 }
1232- if {$shell eq {zsh} && $install_setzshfpath eq {y}} {
1233- lappend ans [list set FPATH $install_zshcompletiondir]
1234- }
12351208 lappend ans [list set MODULES_CMD $modulecmd_path]
12361209 if {$shell in {sh bash ksh zsh csh tcsh fish} && $change_manpath} {
12371210 if {$extra_sysmanpath} {
@@ -1267,9 +1240,6 @@ if {(!$insmodspath || $modspath_exinstalled) && (!$insmodrc || $modrc_exinstalle
12671240 lappend ans [list unset __MODULES_AUTOINIT_INPROGRESS]
12681241 lappend ans [list set _LMFILES_ "$install_modulefilesdir/null"]
12691242 lappend ans [list set MODULESHOME $moduleshome/init]
1270- if {$shell eq {zsh} && $install_setzshfpath eq {y}} {
1271- lappend ans [list set FPATH $install_zshcompletiondir]
1272- }
12731243 lappend ans [list set LOADEDMODULES null]
12741244 if {$shell eq {ksh} || $shell eq {sh} || $shell eq {bash}} {
12751245 lappend ans [list set FPATH $install_initdir/ksh-functions]
@@ -1302,9 +1272,6 @@ if {(!$insmodspath || $modspath_exinstalled) && (!$insmodrc || $modrc_exinstalle
13021272 }
13031273 lappend ans [list unset __MODULES_AUTOINIT_INPROGRESS]
13041274 lappend ans [list set MODULESHOME $moduleshome]
1305- if {$shell eq {zsh} && $install_setzshfpath eq {y}} {
1306- lappend ans [list set FPATH $install_zshcompletiondir]
1307- }
13081275 lappend ans [list set __MODULES_LMPREREQ m3&m1]
13091276 lappend ans [list set _LMFILES_ "$modpath.deps/m1:$modpath.deps/m3:$modpath wspace/space yc/4"]
13101277 lappend ans [list set LOADEDMODULES "m1:m3:space yc/4"]
@@ -1325,9 +1292,6 @@ if {(!$insmodspath || $modspath_exinstalled) && (!$insmodrc || $modrc_exinstalle
13251292 lappend ans [list set __MODULES_LMPREREQ m3&m1]
13261293 lappend ans [list set _LMFILES_ "$modpath.deps/m1:$modpath.deps/m3:$modpath wspace/space yc/4"]
13271294 lappend ans [list set LOADEDMODULES "m1:m3:space yc/4"]
1328- if {$shell eq {zsh} && $install_setzshfpath eq {y}} {
1329- lappend ans [list set FPATH $install_zshcompletiondir]
1330- }
13311295 lappend ans [list set __MODULES_LMINIT $lminit_initrc_exinstalled]
13321296 lappend ans [list set __MODULES_LMTAG m1&auto-loaded]
13331297 lappend ans [list set MODULEPATH "$modpath wspace:$modpath.deps"]
0 commit comments