Use ivy-helpers/list-external-commands

Without the ivy-helpers/ namespace, I believe this code is buggy.
This commit is contained in:
William Carroll 2020-06-16 11:49:56 +01:00
parent f4fa363c19
commit 183b306159

View file

@ -55,7 +55,7 @@ NixOS wrappers."
"Prompts the user with a list of all installed applications and "Prompts the user with a list of all installed applications and
lets them select one to launch." lets them select one to launch."
(interactive) (interactive)
(let ((external-commands-list (list-external-commands))) (let ((external-commands-list (ivy-helpers/list-external-commands)))
(ivy-read "Command:" external-commands-list (ivy-read "Command:" external-commands-list
:require-match t :require-match t
:action #'ivy-helpers/do-run-external-command))) :action #'ivy-helpers/do-run-external-command)))