Add 'f' script

This commit is contained in:
Wiktor Zykubek 2020-05-11 20:52:34 +02:00
parent 37b323b50a
commit b20cd1429c

6
.local/bin/scripts/f Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
# Search for files in local directory and edit selected in default editor.
find . -type f | fzf --preview 'cat {}' --height 25 --layout reverse | \
xargs -r "$EDITOR"