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