Function: zoxide-run
zoxide-run is a natively compiled function defined in zoxide.el.
Signature
(zoxide-run ASYNC &rest ARGS)
Documentation
Run zoxide command with args.
The first argument ASYNC specifies whether calling asynchronously or not. The second argument ARGS is passed to zoxide directly, like query -l
Source Code
;; Defined in /nix/store/hrvvrg8iq0dy80la0z05ls131gycsm2z-emacs-packages-deps/share/emacs/site-lisp/elpa/zoxide-20241003.1103/zoxide.el
;;;###autoload
(defun zoxide-run (async &rest args)
"Run zoxide command with args.
The first argument ASYNC specifies whether calling asynchronously or not.
The second argument ARGS is passed to zoxide directly, like query -l"
(if async
(apply #'start-process "zoxide" "*zoxide*" zoxide-executable args)
(with-temp-buffer
(if (equal 0 (apply #'call-process zoxide-executable nil t nil args))
(buffer-string)
(append-to-buffer "*zoxide*" (point-min) (point-max))
(warn "Zoxide error. See buffer *zoxide* for more details.")))))