mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +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"
|
echo -n >| "$HISTFILE"
|
||||||
fc -p "$HISTFILE"
|
fc -p "$HISTFILE"
|
||||||
echo >&2 History file deleted.
|
echo >&2 History file deleted.
|
||||||
elif [[ -n "$list" ]]; then
|
|
||||||
# if -l provided, run as if calling `fc' directly
|
|
||||||
builtin fc $stamp -l "$@"
|
|
||||||
else
|
else
|
||||||
# otherwise, run `fc -l` with a custom format
|
# otherwise, run `fc -l` with a custom format
|
||||||
builtin fc $stamp -l "$@"
|
builtin fc $stamp -l "$@"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue