Aliases not being used while parsing contents of the `$ENV` file
Open
- Dominant language
- C
- Stars
- 531
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
## Steps to reproduce
create `$HOME/temp.env` -
```sh
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
```
Contributor guide
Research direction
Reproduce the issue with `ENV=$HOME/temp.env mrsh` using the shell content shown. Trace how aliases are parsed and applied while reading the `$ENV` file; done means the command prints `You are using the alias` rather than `You are NOT using the alias`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, shell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100