mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
Remove redundant if branch
This commit is contained in:
parent
b0bf6bcfb3
commit
1a3c624201
1 changed files with 0 additions and 3 deletions
|
|
@ -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 "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue