Setting alias="ls --color"

90 views
Skip to first unread message

Tashrif B.

unread,
Oct 20, 2020, 9:52:09 AM10/20/20
to singularity
Hi all,

Is there a way to configure a container to have the following alias in a singularity shell?

alias ls="ls --color"

I built a container with:

%environment
     alias ls="ls --color"


But the alias does not persist when I shell into the built container.
> singularity shell LsColored.sif

Best,
Tashrif

Reply all
Reply to author
Forward
0 new messages