fsquillace / junest

The lightweight Arch Linux based distro that runs, without root privileges, on top of any other Linux distro.
GNU General Public License v3.0
2.08k stars 111 forks source link

Odd error message when command is not installed. #224

Closed DiagonalArg closed 5 years ago

DiagonalArg commented 5 years ago

When I misprint a command (eg printent rather than printtenv) or a command doesn't exist (eg man), I get an odd error:

$ printent LANG
Error: Nested JuNest environments are not allowed

$ man bash
Error: Nested JuNest environments are not allowed
fsquillace commented 5 years ago

Which host OS are you using?

That error occur when you try to run junest within a junest session.

DiagonalArg commented 5 years ago

I figured it out. The problem is the function command_not_found_handle(). when the command is misprinted, this function is run, which invokes junest again.