From e050a85dc0ee27a511b6b0425bd104b47e47b278 Mon Sep 17 00:00:00 2001 From: Zihao Yu Date: Tue, 10 Sep 2019 21:52:19 +0800 Subject: [PATCH] init.sh: add prompt to run `source ~/.bashrc` * The source command in the script does not take effect, since it is run by a new bash command. --- init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.sh b/init.sh index 2b68910..ebd62c3 100644 --- a/init.sh +++ b/init.sh @@ -29,13 +29,13 @@ case $input in init nexus-am AM_HOME init nanos-lite init navy-apps NAVY_HOME - source ~/.bashrc git add -A git commit -am "$version initialized"$'\n\n'"$log" echo "Initialization finishes!" echo "By default this script will add environment variables into ~/.bashrc." + echo "After that, please run 'source ~/.bashrc' to let these variables take effect." echo "If you use shell other than bash, please add these environment variables manually." ;;