summaryrefslogtreecommitdiffhomepage
path: root/common/etc
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-18 15:07:39 -0500
committermidipix <writeonce@midipix.org>2019-01-18 15:07:39 -0500
commit88a2f37913ae9350d4ed40419ffb2c41c28f5123 (patch)
treed2b2bbc541322be3469373eb85c9d114de1b48a4 /common/etc
parentfcfb6cc09a28c101acecd624cf0e651b2203a876 (diff)
downloadmpackage-88a2f37913ae9350d4ed40419ffb2c41c28f5123.tar.bz2
mpackage-88a2f37913ae9350d4ed40419ffb2c41c28f5123.tar.xz
/etc/init.sh: prepended $HOME/.local/bin to the PATH variable.
Diffstat (limited to 'common/etc')
-rwxr-xr-xcommon/etc/init.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/etc/init.sh b/common/etc/init.sh
index 8bcce7f..ab9b8d7 100755
--- a/common/etc/init.sh
+++ b/common/etc/init.sh
@@ -2,8 +2,8 @@
cd /
-export PATH=/local/sbin:/local/bin:/sbin:/bin
-export HOME=/home/`whoami`
+export HOME=/home/$(whoami)
+export PATH=$HOME/.local/bin:/local/sbin:/local/bin:/sbin:/bin
if [ "$TERM" = xterm ]; then
export PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '