From d09274dcd8199dadcb907b0b78a04674807a107f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 21 Sep 2006 16:48:21 +0000 Subject: 22739: arno: different test for theme in prompt -c --- Functions/Prompts/promptinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions') 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 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" -- cgit 1.4.1