emacs: Add shell completions for 'guix challenge'.

* emacs/guix-pcomplete.el (guix-pcomplete-complete-command-arg): Add
  "challenge" to complete package names for it.
This commit is contained in:
Alex Kost 2015-10-20 16:42:01 +03:00
parent c364a287ad
commit 402d73bc75
1 changed files with 2 additions and 2 deletions

View File

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