1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-26 10:13:37 +08:00

Ensure builtin fc is used (see #3001)

This commit is contained in:
Marc Cornellà 2014-12-18 12:08:56 +01:00
parent 643bb25a0d
commit 03758416fe

View File

@ -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
}