Update status check for command execution

This commit is contained in:
developic 2026-07-20 15:28:24 +05:30 committed by GitHub
parent a715b07179
commit 516db7b01d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ function __zoxide_z_complete
# If the last argument is empty, use interactive selection.
set -l query $tokens[2..-1]
set -l result (command zoxide query --exclude (__zoxide_pwd) --interactive -- $query 2>/dev/null)
if test $status -eq 0
if test $status -eq 130
builtin commandline --function repaint
return
else