From b45d87b20effc658ae7c7b52bd1a303e3632d171 Mon Sep 17 00:00:00 2001 From: Gurjant Singh Date: Sat, 13 Jul 2019 05:07:34 -0400 Subject: [PATCH] alias fix --- build.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index aa62255..03d4fd5 100755 --- a/build.sh +++ b/build.sh @@ -8,11 +8,10 @@ sudo docker build \ -t pdocker . # Add the alias to bashrc -echo "# Pdocker alias" >> ~/.bashrc +echo "# Pdocker alias" >> ~/.profile # Add -v ~/hostpath/Projects:/Projects to share volume -echo "alias pdocker=`pwd`/pdocker.sh" >> ~/.bashrc - -source ~/.bashrc +echo "alias pdocker=`pwd`/pdocker.sh" >> ~/.profile +source ~/.profile echo "[*] Image Building Complete." echo "[*] Use pdocker to start the enviroment. Enjoy." \ No newline at end of file