summarylogtreecommitdiffstats
path: root/fzf-git-bindings-gist.install
diff options
context:
space:
mode:
Diffstat (limited to 'fzf-git-bindings-gist.install')
-rw-r--r--fzf-git-bindings-gist.install38
1 files changed, 38 insertions, 0 deletions
diff --git a/fzf-git-bindings-gist.install b/fzf-git-bindings-gist.install
new file mode 100644
index 000000000000..765bf5a4b61b
--- /dev/null
+++ b/fzf-git-bindings-gist.install
@@ -0,0 +1,38 @@
+# arg 1: the new package version
+post_install() {
+cat << EOF
+
+ In order to use fzf-git-bindings you need to:
+
+ Bash
+ source /usr/share/fzf-git-bindings/functions.sh
+ source /usr/share/fzf-git-bindings/key-binding.bash
+ Zsh
+ source /usr/share/fzf-git-bindings/functions.sh
+ source /usr/share/fzf-git-bindings/key-binding.zsh
+
+ Then you can use shorcuts to list (and choose):
+
+ CTRL-G CTRL-F for files
+ CTRL-G CTRL-B for branches
+ CTRL-G CTRL-T for tags
+ CTRL-G CTRL-R for remotes
+ CTRL-G CTRL-H for commit hashes
+
+EOF
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ post_install
+}
+
+# arg 1: the old package version
+post_remove() {
+cat << EOF
+
+ Don't forget to clear your shell config.
+
+EOF
+}