Add 'f' script

This commit is contained in:
samedamci 2020-05-11 20:52:34 +02:00
parent d03fa3689e
commit 992f42fb44
No known key found for this signature in database
GPG Key ID: FCB4A9A20D00E894

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"