nsh icon indicating copy to clipboard operation
nsh copied to clipboard

Aliases not evaluated "procedurally"

Open ghost opened this issue 2 years ago • 0 comments

In ZSH (and I believe other shells as well) something like the following is possible (example):

alias ls="exa"
alias l="ls -la"

which will both execute exa since the first alias remaps the default unix ls to exa.

In Nsh, this doesn't work. The second alias runs the default ls instead.

What would be the scope of this change? What would need to be done?

ghost avatar Mar 27 '22 08:03 ghost