Function: pcomplete/chown

pcomplete/chown is an autoloaded and byte-compiled function defined in pcmpl-unix.el.gz.

Signature

(pcomplete/chown)

Documentation

Completion for the chown command.

Source Code

;; Defined in /usr/src/emacs/lisp/pcmpl-unix.el.gz
;;;###autoload
(defun pcomplete/chown ()
  "Completion for the `chown' command."
  (unless (pcomplete-match "\\`-")
    (if (pcomplete-match "\\`[^.]*\\'" 0)
	(pcomplete-here* (pcmpl-unix-user-names))
      (if (pcomplete-match "\\.\\([^.]*\\)\\'" 0)
	  (pcomplete-here* (pcmpl-unix-group-names)
			   (pcomplete-match-string 1 0))
	(pcomplete-here*))))
  (while (pcomplete-here (pcomplete-entries))))