code / scripts

Lines748 Shell528 Python72 Lua67 Bourne Again Shell62 make15
1 others 4
Markdown4
(7 lines)
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"