From 1a3c6242012e1d34352fab67aa2e3f094316781b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Tue, 16 Apr 2024 19:37:03 +0200 Subject: [PATCH] Remove redundant if branch --- lib/history.zsh | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/history.zsh b/lib/history.zsh index 7123c1c93..ec89bc15e 100644 --- a/lib/history.zsh +++ b/lib/history.zsh @@ -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 "$@"