1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-12-29 16:25:35 +01:00

37214: 'prompt walters': Don't export PS1

This commit is contained in:
Daniel Shahaf 2015-11-25 01:45:45 +00:00
parent 06a24d3747
commit 694aee4c3d
2 changed files with 6 additions and 3 deletions

View file

@ -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

View file

@ -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)