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:
parent
643bb25a0d
commit
03758416fe
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user