diff options
author | Zhanibek Adilbekov | 2018-10-16 11:14:53 +0600 |
---|---|---|
committer | Zhanibek Adilbekov | 2018-10-16 11:14:53 +0600 |
commit | 06ba896767f25af05945314279d7f404971f4683 (patch) | |
tree | a6bcda93db0c7cbd6fea43b89c87908e18b351a3 /fzf-git-bindings-gist.install | |
download | aur-06ba896767f25af05945314279d7f404971f4683.tar.gz |
Revision: 2018-06-16T13:43:23Z
Diffstat (limited to 'fzf-git-bindings-gist.install')
-rw-r--r-- | fzf-git-bindings-gist.install | 38 |
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 +} |