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."
(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)))))