modulecmd: bugfix in unloading overlay

This commit is contained in:
2021-12-13 09:36:47 +01:00
parent 2b3696f070
commit 7983a03221
+1 -1
View File
@@ -1679,7 +1679,7 @@ subcommand_unuse() {
fi
unset "OverlayDict[${ol_dir}]"
OverlayList=( "${OverlayList[@]}")
OverlayList=( "${OverlayList[@]:1}")
g_env_must_be_saved='yes'
export_env OverlayList
local dir