diff --git a/.mgr_config/install.sh b/.mgr_config/install.sh old mode 100644 new mode 100755 index ae0129f..459724a --- a/.mgr_config/install.sh +++ b/.mgr_config/install.sh @@ -30,5 +30,11 @@ if [[ $? != 0 ]]; then exit 1 fi +touch $HOME/.bashrc +SRC_LINE="source ~/.mgr_config/.bashrc" +if ! grep "$SRC_LINE" $HOME/.bashrc > /dev/null; then + echo "$SRC_LINE" >> ~/.bashrc +fi + echo "Installed successfully! Restart this session or source ~/.bashrc" exit 0