From: Michael D. Lowis Date: Mon, 14 Mar 2022 20:37:52 +0000 (-0400) Subject: added fedit script for quickly opening file via fuzzyfind X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=7917365d3bcfff0f88bfb9bdeb5fe8a8322a93d6;p=projs%2Ftide.git added fedit script for quickly opening file via fuzzyfind --- diff --git a/bin/fedit b/bin/fedit new file mode 100755 index 0000000..1911716 --- /dev/null +++ b/bin/fedit @@ -0,0 +1,3 @@ +#!/bin/sh +pattern="*$(printf "%s" "$1" | sed 's/./&*/g')" +find . -type f -iname "$pattern" | pick | xargs -r edit