emersion / mrsh

A minimal POSIX shell
MIT License
489 stars 35 forks source link

Aliases not being used while parsing contents of the `$ENV` file #195

Open subnut opened 2 years ago

subnut commented 2 years ago

Steps to reproduce

create $HOME/temp.env -

alias echo=_echo
_echo() { printf '%s\n' 'You are using the alias'; }
echo You are NOT using the alias

Now run ENV=$HOME/temp.env mrsh

Expected output

You are using the alias

Actual output

You are NOT using the alias