Remove redundant if branch

This commit is contained in:
Marc Cornellà 2024-04-16 19:37:03 +02:00
commit 1a3c624201
No known key found for this signature in database
GPG key ID: 0314585E776A9C1B

View file

@ -12,9 +12,6 @@ function omz_history {
echo -n >| "$HISTFILE"
fc -p "$HISTFILE"
echo >&2 History file deleted.
elif [[ -n "$list" ]]; then
# if -l provided, run as if calling `fc' directly
builtin fc $stamp -l "$@"
else
# otherwise, run `fc -l` with a custom format
builtin fc $stamp -l "$@"