Update 2022-12-07 18:56 OpenBSD/amd64

This commit is contained in:
c0dev0id 2022-12-07 18:56:50 +01:00
parent f24d0e198e
commit 9aadb82b21

7
.bin/c
View File

@ -1,5 +1,10 @@
#!/bin/sh
if [ ! -z "$@" ]
then
EXTRA="--query $@"
fi
F=$(find $HOME/.config/* \
$HOME/.* \
-maxdepth 1 \
@ -15,6 +20,6 @@ F=$(find $HOME/.config/* \
-o -name ".ini" \
-o -name "config" \
\) | sort -u \
| fzf -e +s --preview='cat {}' );
| fzf -e +s $EXTRA --preview='cat {}' );
[ -z "$F" ] || vim "$F";