system/password-store: Install bash-completion and update README.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Daniel Prosser 2017-04-06 10:32:56 +07:00 committed by Willy Sudiarto Raharjo
parent 3d362d4a1a
commit e1759d61af
2 changed files with 3 additions and 3 deletions

View file

@ -2,8 +2,8 @@ password-store is a simple password manager which uses GnuPG to
securely encrypt and retrieve passwords.
By default, bash completion is installed as
/etc/bash_completion.d/password-store. Add 'source
/etc/bash_completion.d/password-store' to your .bashrc to enable it.
/usr/share/bash-completion/completions/pass. Add 'source
/usr/share/bash-completion/completions/pass' to your .bashrc to enable it.
zsh and fish completion is also optionally included.
uncomment the lines in the SlackBuild to include it in the package.

View file

@ -51,7 +51,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make install MANDIR=/usr/man DESTDIR=$PKG
make install FORCE_BASHCOMP=1 MANDIR=/usr/man DESTDIR=$PKG
# Adapted from the Makefile:
# Uncomment the two lines below to install the zsh completion file.