diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Functions/Prompts/promptinit | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 5934a824d..adf966b03 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-09-21 Peter Stephenson <pws@csr.com> + * 22739: arno: Functions/Prompt/promptinit: change test + for prompt -c to test for theme. + * 22753: Src/prompt.c, Src/utils.c, Src/Zle/complist.c: minor bugs with using characters spotted from warnings on Cygwin. diff --git a/Functions/Prompts/promptinit b/Functions/Prompts/promptinit index 0ca4f86bf..37e437699 100644 --- a/Functions/Prompts/promptinit +++ b/Functions/Prompts/promptinit @@ -91,7 +91,7 @@ Use prompt -h <theme> for help on specific themes.' ;; esac case "$opt" in - c) if (( $+prompt_theme )); then + c) if [[ -n $prompt_theme ]]; then print -n "Current prompt theme" (( $#prompt_theme > 1 )) && print -n " with parameters" print " is:\n $prompt_theme" |