This commit is contained in:
@@ -4,7 +4,7 @@ z-history() {
|
||||
local list
|
||||
|
||||
zparseopts -E l=list
|
||||
if [[ -n "$list" ]]; then
|
||||
if [ -n "${list}" ]; then
|
||||
builtin fc "$@"
|
||||
else
|
||||
[[ ${@[-1]-} = *[0-9]* ]] && builtin fc -il "$@" || builtin fc -il "$@" 1
|
||||
|
Reference in New Issue
Block a user