blob: 765bf5a4b61b9ef488dafec209b0843678a05c05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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
}
|