aboutsummaryrefslogtreecommitdiff
path: root/textproc/fzf/pkg-message
blob: 1bd813ea53d20ebda54712c93607f462f3e58fa6 (plain) (blame)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[
{ type: install
  message: <<EOM
Various shell key bindings and completion files are embedded in fzf, to use
these include them in your shell configuration.

    bash

    # Set up fzf key bindings and fuzzy completion
    eval "$(fzf --bash)"

    zsh

    # Set up fzf key bindings and fuzzy completion
    eval "$(fzf --zsh)"

    fish

    # Set up fzf key bindings
    fzf --fish | source
EOM
}
{ type: upgrade
  maximum_version: "0.48.0"
  message: <<EOM
Shell integration scripts are now embedded in the fzf binary. This simplifies
the distribution, and the users are less likely to have problems caused by using
incompatible scripts and binaries.

    bash

    # Set up fzf key bindings and fuzzy completion
    eval "$(fzf --bash)"

    zsh

    # Set up fzf key bindings and fuzzy completion
    eval "$(fzf --zsh)"

    fish

    # Set up fzf key bindings
    fzf --fish | source
EOM
}
{ type: upgrade
  maximum_version: "0.53.0"
  message: <<EOM
The --tmux option has been added to replace the fzf-tmux script.

    # --tmux [center|top|bottom|left|right][,SIZE[%]][,SIZE[%]]
    # Center, 100% width and 70% height
    fzf --tmux 100%,70% --border horizontal --padding 1,2

    # Left, 30% width
    fzf --tmux left,30%

    # Bottom, 50% height
    fzf --tmux bottom,50%
EOM
}
]