#8 Add instructions for Bash completion to README
Merged 7 years ago by ralph. Opened 7 years ago by lsedlar.
lsedlar/pag completion  into  develop

file modified
+7
@@ -56,3 +56,10 @@ 

  ``pag`` provides a convenience command for creating new projects::

  

      ❯ pag create factory2 "Ostensibly better than factory version 1"

+ 

+ 

+ ----

+ 

+ To enable bash completion, add the following to your ``.bashrc``::

+ 

+     eval "$(_PAG_COMPLETE=source pag)"

Ultimately it would be nice if this worked out-of-the-box with Fedora package. I think it would be enough to save output of _PAG_COMPLETE=source pag into /usr/share/bash-completion/completions/pag. The location can be retrieved by pkg-config --variable=completionsdir bash-completion.

Pull-Request has been merged by ralph

7 years ago

Pull-Request has been merged by ralph

7 years ago
Metadata