~ruther/guix-local

402d73bc75f8410d27c87217fb85a9223c27a5aa — Alex Kost 10 years ago c364a28
emacs: Add shell completions for 'guix challenge'.

* emacs/guix-pcomplete.el (guix-pcomplete-complete-command-arg): Add
  "challenge" to complete package names for it.
1 files changed, 2 insertions(+), 2 deletions(-)

M emacs/guix-pcomplete.el
M emacs/guix-pcomplete.el => emacs/guix-pcomplete.el +2 -2
@@ 209,8 209,8 @@ group - the argument.")
  "Complete argument for guix COMMAND."
  (cond
   ((member command
            '("archive" "build" "graph" "edit" "environment"
              "lint" "refresh" "size"))
            '("archive" "build" "challenge" "edit" "environment"
              "graph" "lint" "refresh" "size"))
    (while t
      (pcomplete-here (guix-pcomplete-all-packages))))
   (t (pcomplete-here* (pcomplete-entries)))))