mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-10 16:23:59 +01:00
modulecmd: unsetting aliases fixed
This commit is contained in:
1 parent
e8f9e3476a
commit
078653c6c7
1 file changed
+1
-1
@@ -744,7 +744,7 @@ subcommand_unload() {
|
||||
local arg
|
||||
for arg in "${args[@]}"; do
|
||||
local output=$("${modulecmd}" "${Shell}" 'unload' "${arg}")
|
||||
eval "${output}"
|
||||
eval "$(echo "${output}"|sed -e 's/;unalias [^;]*//g')"
|
||||
case ${Shell} in
|
||||
sh | bash | zsh )
|
||||
echo "${output}"
|
||||
|
||||
Reference in new issue
Block a user