summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/history.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/history.zsh b/lib/history.zsh
index 35da57de2..781a0e9de 100644
--- a/lib/history.zsh
+++ b/lib/history.zsh
@@ -18,10 +18,10 @@ function omz_history {
print -u2 History file deleted.
elif [[ $# -eq 0 ]]; then
# if no arguments provided, show full history starting from 1
- builtin fc $stamp -l 1
+ builtin fc "${stamp[@]}" -l 1
else
# otherwise, run `fc -l` with a custom format
- builtin fc $stamp -l "$@"
+ builtin fc "${stamp[@]}" -l "$@"
fi
}