Hi, This diff packages the necessary support files for for integrating fzf with shells.
With this change, enabling support in (e.g.) zsh is as simple as: ``` export FZF_DEFAULT_OPTS="--ansi" . /usr/local/share/fzf/shell/key-bindings.zsh . /usr/local/share/fzf/shell/completion.zsh ``` OK? Index: Makefile =================================================================== RCS file: /cvs/ports/sysutils/fzf/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- Makefile 12 Jul 2019 20:49:43 -0000 1.3 +++ Makefile 16 Jan 2020 14:12:55 -0000 @@ -3,6 +3,7 @@ COMMENT = command-line fuzzy finder DISTNAME = fzf-0.17.5 +REVISION = 0 CATEGORIES = sysutils @@ -30,5 +31,7 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin ${INSTALL_MAN_DIR} ${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/man/man1/*.1 ${PREFIX}/man/man1 + ${INSTALL_DATA_DIR} ${PREFIX}/share/fzf/shell + ${INSTALL_DATA} ${WRKSRC}/shell/* ${PREFIX}/share/fzf/shell/ .include <bsd.port.mk> Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/sysutils/fzf/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 PLIST --- pkg/PLIST 12 Jun 2018 00:10:00 -0000 1.1.1.1 +++ pkg/PLIST 16 Jan 2020 14:13:07 -0000 @@ -3,3 +3,10 @@ bin/fzf-tmux @man man/man1/fzf-tmux.1 @man man/man1/fzf.1 +share/fzf/ +share/fzf/shell/ +share/fzf/shell/completion.bash +share/fzf/shell/completion.zsh +share/fzf/shell/key-bindings.bash +share/fzf/shell/key-bindings.fish +share/fzf/shell/key-bindings.zsh -- Best Regards Edd Barrett http://www.theunixzoo.co.uk