Skip to main content
KSuch.2
Associate II
March 4, 2020
Solved

Environment aliases are dropped out.

  • March 4, 2020
  • 2 replies
  • 859 views

Why after

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

aliases is empty? What for?

This topic has been closed for replies.
Best answer by mleo

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
mleoAnswer
Visitor II
March 5, 2020

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
March 5, 2020

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.