2023-05-17 14:01:17 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2023-05-17 14:20:29 +00:00
|
|
|
root=$1
|
|
|
|
shift 1
|
|
|
|
if [ -n "$*" ]
|
2023-06-01 13:23:13 +00:00
|
|
|
then find $root -type d -name .git | xargs dirname | fzf -1 -q "$*"
|
|
|
|
else find $root -type d -name .git | xargs dirname | fzf -1
|
2023-05-17 14:20:29 +00:00
|
|
|
fi
|