2020-05-11 20:53:51 +02:00

7 lines
180 B
Bash
Executable File

#!/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"