1
0

zsh: update
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2024-02-23 21:46:04 +03:00
parent 0289d90fb9
commit 47b2170058
14 changed files with 72 additions and 53 deletions

View File

@@ -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