me
/
guix
Archived
1
0
Fork 0

emacs: Complete 'guix size --map-file' properly.

* emacs/guix-pcomplete.el (guix-pcomplete-complete-option-arg): Complete
  file name for '-m/--map-file' option of 'guix size' command.
master
Alex Kost 2015-06-22 10:57:04 +03:00
parent a8f996c605
commit 0805f336ad
1 changed files with 5 additions and 1 deletions

View File

@ -330,7 +330,11 @@ INPUT is the current partially completed string."
((and (command? "refresh")
(option? "-s" "--select"))
(complete* guix-pcomplete-refresh-subsets)))))
(complete* guix-pcomplete-refresh-subsets))
((and (command? "size")
(option? "-m" "--map-file"))
(complete* (pcomplete-entries))))))
(defun guix-pcomplete-complete-options (command)
"Complete options (with their arguments) for guix COMMAND."