diff options
author | Marc Cornellà <marc.cornella@live.com> | 2014-12-18 12:08:56 +0100 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2018-04-22 15:32:02 +0200 |
commit | 03758416fe99f0f1cb9f19ad1a7846de1b02f21a (patch) | |
tree | df512416ccd8d76ccab543d44a038c3dbdbc3292 | |
parent | 643bb25a0d2bd5c2ef316a88021e1ac4eb156bf8 (diff) | |
download | zsh-03758416fe99f0f1cb9f19ad1a7846de1b02f21a.tar.gz zsh-03758416fe99f0f1cb9f19ad1a7846de1b02f21a.tar.bz2 zsh-03758416fe99f0f1cb9f19ad1a7846de1b02f21a.zip |
Ensure builtin fc is used (see #3001)
-rw-r--r-- | lib/history.zsh | 2 |
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 } |