mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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.
This commit is contained in:
parent
a8f996c605
commit
0805f336ad
1 changed files with 5 additions and 1 deletions
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue