pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/fzf



Module Name:    pkgsrc
Committed By:   maya
Date:           Wed Oct 25 10:42:13 UTC 2017

Added Files:
        pkgsrc/sysutils/fzf: MESSAGE

Log Message:
fzf: spoon feed information about how to setup key bindings

zsh might have a better mechanism, but this works!


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/fzf/MESSAGE

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/sysutils/fzf/MESSAGE
diff -u /dev/null pkgsrc/sysutils/fzf/MESSAGE:1.1
--- /dev/null   Wed Oct 25 10:42:13 2017
+++ pkgsrc/sysutils/fzf/MESSAGE Wed Oct 25 10:42:13 2017
@@ -0,0 +1,31 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2017/10/25 10:42:13 maya Exp $
+fzf comes with bindings for bash, zsh and fish.
+You can install them in the following way:
+
+bash/zsh:
+       Append key bindings and completion files to ~/.bashrc:
+       cat PREFIX/gopkg/src/github.com/junegunn/fzf/shell/key-bindings.bash \
+           PREFIX/gopkg/src/github.com/junegunn/fzf/shell/key-bindings.bash \
+           >> ~/.bashrc
+           source ~/.bashrc
+
+       or ~/.zshrc:
+       cat PREFIX/gopkg/src/github.com/junegunn/fzf/shell/key-bindings.zsh \
+           PREFIX/gopkg/src/github.com/junegunn/fzf/shell/key-bindings.zsh \
+           >> ~/.zshrc
+           source ~/.zshrc
+
+fish:
+       cp PREFIX/gopkg/src/github.com/junegunn/fzf/shell/key-bindings.fish \
+           ~/.config/fish/functions/fzf_key_bindings.fish
+
+       Add "fzf_key_bindings" to fish_user_key_bindings.
+       If you don't have one, use:
+
+       echo "
+       function fish_user_key_bindings
+               fzf_key_bindings
+       end
+       " > ~/.config/fish/functions/fish_user_key_bindings.fish
+===========================================================================



Home | Main Index | Thread Index | Old Index