summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/history.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/history.zsh b/lib/history.zsh
index da1e02ddf..21e9c7563 100644
--- a/lib/history.zsh
+++ b/lib/history.zsh
@@ -6,7 +6,7 @@ function omz_history {
echo -n >| "$HISTFILE"
echo >&2 History file deleted. Reload the session to see its effects.
else
- fc $@ -l 1
+ builtin fc "$@" -l 1
fi
}