Install: add a question for which environment this is and add it to the prompt.

This commit is contained in:
Jelmer Snoeck
2012-04-28 09:37:37 +02:00
parent e82c747718
commit 16c6ba4780
3 changed files with 6 additions and 1 deletions
+4
View File
@@ -90,5 +90,9 @@ for sourceFile in .*; do
ln -vs "$PWD/$sourceFile" "$targetFile";
done;
touch ~/.bash_environment;
read -p "Please, enter your environment: ";
echo -e "export __prompt_environment='[$REPLY] '" | tee ~/.bash_environment > /dev/null;
echo "Done.";