1 # grep through all files and open one in editor
3 # Directory to be searched can be set in ~/.config/iomenu/grep. They are
9 find "$1" ! -path '*/.git/*' -type f |
11 cut -c $((${#HOME} + 2))- |
15 path="${reference%%:*}"
16 line="${reference#*:}"
19 exec ${VISUAL:-${EDITOR:-vim}} +"$line" "$HOME/$path"