makedeb
Tab completion using fzf in zsh, bash, GNU readline apps (e.g. python, php -a etc.)
Click here to go back to the commit logs for fzf-tab-completion-git.
Hash: 3dbebfa571ea02e4a44b907b6a83897f6601809e
Message: minor update
diff --git a/.SRCINFO b/.SRCINFO
index 96264d1..824bee3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,8 +3,9 @@ generated-by = makedeb-makepkg
pkgbase = fzf-tab-completion-git
pkgdesc = Tab completion using fzf in zsh, bash, GNU readline apps (e.g. python, php -a etc.)
pkgver = 303.53eb325
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/lincheney/fzf-tab-completion
+ install = fzf-tab-completion-git.install
arch = i686
arch = x86_64
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index cb6b879..cadb27b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=fzf-tab-completion-git
_pkgname=${pkgname%-git}
pkgver=303.53eb325
-pkgrel=1
+pkgrel=2
pkgdesc="Tab completion using fzf in zsh, bash, GNU readline apps (e.g. python, php -a etc.)"
arch=('i686' 'x86_64')
url="https://github.com/lincheney/fzf-tab-completion"
@@ -12,7 +12,7 @@ makedepends=('rustc' 'cargo')
provides=("fzf-tab-completion")
conflicts=("fzf-tab-completion")
# replaces=("fzf-tab-completion")
-#install=$pkgname.install
+install=$pkgname.install
source=("${_pkgname}::git+https://github.com/lincheney/${_pkgname}.git")
sha256sums=('SKIP')
diff --git a/fzf-tab-completion-git.install b/fzf-tab-completion-git.install
new file mode 100644
index 0000000..93e2b93
--- /dev/null
+++ b/fzf-tab-completion-git.install
@@ -0,0 +1,17 @@
+post_install() {
+ cat <<EOF
+
+If you want to use it with readline, add follows to your .inputrc:
+
+ \$include function rl_custom_complete /usr/lib/librl_custom_complete.so
+ C-i rl_custom_complete
+
+Please read https://github.com/lincheney/fzf-tab-completion for more information.
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
+
+