#!/bin/bash

# edit file: Uses fzy to locate a file, and opens it in your favorite text editor
# Takes arguments for `fd`

"$EDITOR" "$(fd $@ | fzy)"