about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Calendar/calendar3
1 files changed, 2 insertions, 1 deletions
diff --git a/Functions/Calendar/calendar b/Functions/Calendar/calendar
index 1338aa9f8..c5605fa71 100644
--- a/Functions/Calendar/calendar
+++ b/Functions/Calendar/calendar
@@ -298,7 +298,8 @@ fi
     fi
     (( shown = 0 ))
     if (( brief )); then
-      showline=${(F)${${(f)line}[1,brief]}}
+      line=("${(f)line}")
+      showline=${(F)${${line[1,brief]}}}
     else
       showline=$line
     fi