about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Functions/Prompts/prompt_walters_setup6
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index d7e766e17..b921f63c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-11-27  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
+	* 37214: Functions/Prompts/prompt_walters_setup: 'prompt
+	walters': Don't export PS1
+
 	* 37163: Completion/Unix/Command/_curl,
 	Completion/Unix/Type/_urls: Remove curl completion
 
diff --git a/Functions/Prompts/prompt_walters_setup b/Functions/Prompts/prompt_walters_setup
index b2b0b8430..7948254d8 100644
--- a/Functions/Prompts/prompt_walters_setup
+++ b/Functions/Prompts/prompt_walters_setup
@@ -14,10 +14,10 @@ EOF
 prompt_walters_setup () {
 
 if [[ "$TERM" != "dumb" ]]; then
-    export PROMPT='%B%(?..[%?] )%b%n@%U%m%u> '
-    export RPROMPT="%F{${1:-green}}%~%f"
+    PROMPT='%B%(?..[%?] )%b%n@%U%m%u> '
+    RPROMPT="%F{${1:-green}}%~%f"
 else
-    export PROMPT="%(?..[%?] )%n@%m:%~> "
+    PROMPT="%(?..[%?] )%n@%m:%~> "
 fi
 
   prompt_opts=(cr percent)