This is as expected. The aliases are not kept in the environment variables but in separate memory.
If you start another FreeCOM sub-shell (such as a sub-shell executed from a file manager or programming IDE) the environment is inherited, but the aliases are not. On Mon, May 12, 2025, 6:28 AM Wilhelm Spiegl via Freedos-devel < freedos-devel@lists.sourceforge.net> wrote: > Hi, > when running FDT2505 (and earlier) I noticed the following: > FDT has an environment with set xy=blabla etc. and it also uses aliases, > e.g. alias reboot=fdapm warmboot. > Usually this works fine. > But when I run "command", and start a new instance with this, e.g. to see > the version number of command, you see the differences. > > a) The environment is kept and still usable. > b) The aliases disappear, "alias" has no more content, result "reboot" > etc. does no longer work. > I am not sure if this is a bug or a feature. > Is there a reason why it is not kept like an environment? > > Willi > _______________________________________________ > Freedos-devel mailing list > Freedos-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-devel >
_______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel