Update 2024-02-14 07:51 OpenBSD/amd64-x13
This commit is contained in:
15
.bin/OLD/devs
Executable file
15
.bin/OLD/devs
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
. ~/.bin/_config
|
||||
set -xe
|
||||
|
||||
[ ! -z "$1" ] && EXTRA="-q $1"
|
||||
F=$(find /usr/src /usr/xenocara /usr/www -type f \
|
||||
-not -path "*/CVS/*" \
|
||||
-not -path "*/.git/*" \
|
||||
-not -name "*.orig" \
|
||||
-not -name "*.git*" \
|
||||
-not -name "*.cvs*" \
|
||||
| fzf -e -1 -0 $EXTRA)
|
||||
R="$(readlink -f "$F")"
|
||||
test -z "$R" || vim "$R"
|
||||
echo "$(dirname "$R")"
|
||||
Reference in New Issue
Block a user