From 5461e7bddfe5f01f462a6cc172a2b839f04d902a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AF=82=E9=A3=8E=E5=A6=82=E9=9B=AA?= <634790985@qq.com> Date: Tue, 4 Jan 2022 12:46:31 +0800 Subject: [PATCH] add path in $PATH but not overwrite --- pget | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pget b/pget index 204729b..43fb58f 100644 --- a/pget +++ b/pget @@ -3,8 +3,8 @@ # bin/compile # copyleft 2020 GNU GPLv3 # buy enp0s10 with <3 https://github.com/z3r0n3t -echo export PATH=$PATH:$HOME:.apt/usr/bin:.apt/bin:.apt/sbin:.apt/usr/share:.apt/usr/lib >> $HOME/.profile #don't just be shure -echo export PATH=$PATH:$HOME:.apt/usr/bin:.apt/bin:.apt/sbin:.apt/usr/share:.apt/usr/lib >> $HOME/.bashrc #be extra shure +echo export PATH=\$PATH:\$HOME:.apt/usr/bin:.apt/bin:.apt/sbin:.apt/usr/share:.apt/usr/lib >> $HOME/.profile #don't just be shure +echo export PATH=\$PATH:\$HOME:.apt/usr/bin:.apt/bin:.apt/sbin:.apt/usr/share:.apt/usr/lib >> $HOME/.bashrc #be extra shure echo "starting install..." echo curent user is "$USER" echo "---------------------"