summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-10-20 16:42:01 +0300
committerAlex Kost <alezost@gmail.com>2015-10-27 21:54:57 +0300
commit402d73bc75f8410d27c87217fb85a9223c27a5aa (patch)
treebf811e3ddb9861db682eaf4b7cbca696c0142d4f /emacs
parentc364a287ad6ed581af4de457e7d968d815578f39 (diff)
emacs: Add shell completions for 'guix challenge'.
* emacs/guix-pcomplete.el (guix-pcomplete-complete-command-arg): Add "challenge" to complete package names for it.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/guix-pcomplete.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/guix-pcomplete.el b/emacs/guix-pcomplete.el
index 4743be59bd..98f8efd1d2 100644
--- a/emacs/guix-pcomplete.el
+++ b/emacs/guix-pcomplete.el
@@ -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)))))