Blaze to Linux@programming.dev · 28 days agoYouTube Feed With FZF, Thumbnails And Import/Export Subs To NewPipefiles.catbox.moeimagemessage-square4fedilinkarrow-up140arrow-down11file-text
arrow-up139arrow-down1imageYouTube Feed With FZF, Thumbnails And Import/Export Subs To NewPipefiles.catbox.moeBlaze to Linux@programming.dev · 28 days agomessage-square4fedilinkfile-text
minus-squarethingsiplay@beehaw.orglinkfedilinkarrow-up4·28 days agoNice 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 {}'
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 {}'