03758416fe99f0f1cb9f19ad1a7846de1b02f21a
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
Ensure builtin fc is used (see #3001)
Diff
1diff --git a/lib/history.zsh b/lib/history.zsh
2index da1e02ddff9a02d8b4fbef0d02d9b9b37e458937..21e9c7563bc596cc9de3ec625d926eaaf20e9d1a 100644
3--- a/lib/history.zsh
4+++ b/lib/history.zsh
5@@ -6,7 +6,7 @@ function omz_history {
6 echo -n >| "$HISTFILE"
7 echo >&2 History file deleted. Reload the session to see its effects.
8 else
9- fc $@ -l 1
10+ builtin fc "$@" -l 1
11 fi
12 }
13