diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2006-09-21 16:48:21 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-09-21 16:48:21 +0000 |
| commit | d09274dcd8199dadcb907b0b78a04674807a107f (patch) | |
| tree | a7f68304671f032e32ca7ca18cd89dd57e2ba598 /Functions | |
| parent | 22753: minor character bugs spotted on Cygwin (diff) | |
| download | zsh-d09274dcd8199dadcb907b0b78a04674807a107f.tar zsh-d09274dcd8199dadcb907b0b78a04674807a107f.tar.gz zsh-d09274dcd8199dadcb907b0b78a04674807a107f.tar.bz2 zsh-d09274dcd8199dadcb907b0b78a04674807a107f.tar.lz zsh-d09274dcd8199dadcb907b0b78a04674807a107f.tar.xz zsh-d09274dcd8199dadcb907b0b78a04674807a107f.tar.zst zsh-d09274dcd8199dadcb907b0b78a04674807a107f.zip | |
22739: arno: different test for theme in prompt -c
Diffstat (limited to 'Functions')
| -rw-r--r-- | Functions/Prompts/promptinit | 2 |
1 files changed, 1 insertions, 1 deletions
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" |
