Skip to main content
KSuch.2
Associate II
Solved

Environment aliases are dropped out.

Why after

$ source ./layers/meta-st/scripts/envsetup.sh

aliases is empty? What for?

This topic has been closed for replies.
mleo
mleoBest answer
Visitor II

Hi,

see comment on https://github.com/STMicroelectronics/meta-st-scripts

"If user aliases some commands like rm,

script may not work.

To make this more reproductible its safe to unalias all of them."

BR,

Milan

2 replies

mleo
mleoBest answer
Visitor II

Hi,

see comment on https://github.com/STMicroelectronics/meta-st-scripts

"If user aliases some commands like rm,

script may not work.

To make this more reproductible its safe to unalias all of them."

BR,

Milan

KSuch.2
KSuch.2Author
Associate II

i've big doubt that alias ls='ls --color' has a harmful. Why you don't use "unalias" exactly on one is obstacle. i understand that using "unalias -a" is simple solution.