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
parent
a8f996c605
commit
0805f336ad
|
@ -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."
|
||||
|
|
Reference in New Issue