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
+1 -1
View File
@@ -70,7 +70,7 @@ rewrite_prompt()
[ $UID -eq "0" ] && UC=$R # root's color
# rewrite prompt
PS1="[\\t] ${G}\u@\h> \${NEW_PWD} ${C}\$(git_branch)\${NONE}${NONE}\n$ "
PS1="\${__prompt_environment}[\\t] ${G}\u@\h> \${NEW_PWD} ${C}\$(git_branch)\${NONE}${NONE}\n$ "
}
# adds ~/.ssh/config to the ssh autocomplete