Revert "Revert "init gen files via ~/.profile by dash""

This reverts commit 626293fcdea2681134dc8e3064ceb64ad060fef6.