1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-22 12:21:58 +00: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 -n >| "$HISTFILE"
echo >&2 History file deleted. Reload the session to see its effects. echo >&2 History file deleted. Reload the session to see its effects.
else else
fc $@ -l 1 builtin fc "$@" -l 1
fi fi
} }