]> git.wh0rd.org - home.git/commitdiff
custom-chroot: seed chroot with my aliases
authorMike Frysinger <vapier@gentoo.org>
Mon, 6 Jan 2014 15:12:44 +0000 (07:12 -0800)
committerMike Frysinger <vapier@gentoo.org>
Mon, 6 Jan 2014 15:12:44 +0000 (07:12 -0800)
.bin/custom-chroot

index a32a75fbe349acd83703f23754abdaa1cc6214b7..113ccfad31e27faff8574e351cb3dff325bb23ab 100755 (executable)
@@ -64,6 +64,7 @@ init_chroot() {
        for f in "${home[@]}" ; do
                cp "${HOME}/${f}" "root/${f}"
        done
+       cat ~/.profile.d/aliases.sh > root/.bash_profile
 }
 
 usage() {