mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 18:13:08 +02:00
Merge branch '158-unsetting-aliases-in-sub-command-purge-is-broken' into 'master'
Resolve "unsetting aliases in sub-command 'purge' is broken" Closes #158 See merge request Pmodules/src!130
This commit is contained in:
@@ -1489,7 +1489,7 @@ subcommand_purge() {
|
||||
# re-run with right shell
|
||||
"${modulecmd}" "${Shell}" 'purge'
|
||||
fi
|
||||
eval "${output}"
|
||||
eval "$(echo "${output}"|sed -e 's/;unalias [^;]*//g')"
|
||||
if [[ -n "${error}" ]]; then
|
||||
echo "${error}" 1>&2
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user