• Nice scripts. I want to give an advice you may or may not know. In Bash you can “export” a function, which then you can use the function in fzf preview or bind command like any other program.

    hello() {
    	echo "hello ${1}"
    }
    export -f hello
    
    find ./* -maxdepth 0 | fzf --preview='hello {}'