cat ~/.profile.d/PS1.sh
sed -e '1{/PS1=/d}' ${chr}/etc/profile.d/chromiumos-niceties.sh
) > ${chome}/.ps1.sh
-sudo sh -c "echo export LANG=en_US.UTF8 > ${chr}/etc/profile.d/LANG.sh"
-sudo sh -c "echo FEATURES=noauto > ${chr}/etc/make.conf.user"
-sudo sh -c "echo -g > ${chr}/etc/ps1_append"
+sudo sh -c 'echo export LANG=en_US.UTF8 > '"${chr}/etc/profile.d/LANG.sh"
+sudo sh -c 'echo FEATURES=\"\$FEATURES noauto\" > '"${chr}/etc/make.conf.user"
+sudo sh -c 'echo -g > '"${chr}/etc/ps1_append"
sudo mv ${chome}/.ps1.sh ${chr}/etc/profile.d/chromiumos-niceties.sh
for f in .nanorc .gdbinit .gitconfig ; do
sudo ln -f ${chome}/$f ${chr}/root/