mj 382 B

123456789
  1. # key: mj
  2. # name: mj
  3. # --
  4. ${2:$$(car (split-string (string-trim-right
  5. (shell-command-to-string
  6. (mapconcat 'identity
  7. (list (expand-file-name "~/.guix-profile/bin/getent") "hosts" (yas-choose-value (mj-hosts--candidates)))
  8. " ")))
  9. " "))} $1