#!/bin/sh # Open up a config file from ~/.config/ set -e cd ~/.config c="$(find -L -maxdepth 3 -type f 2>/dev/null | fzf -1 --prompt='Pick a config file: ' -q "$1")" #c="$(find -L -maxdepth 3 -type f 2>/dev/null | ask -Q --prompt='Pick a config file: ' --query="$1")" nvim "$c"