Update 2022-12-07 18:56 OpenBSD/amd64
This commit is contained in:
parent
f24d0e198e
commit
9aadb82b21
7
.bin/c
7
.bin/c
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user