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-05-30 07:32:22 +00:00
|
|
|
then find $root -type d -name .git | xargs dirname | fzf -q "$*"
|
|
|
|
else find $root -type d -name .git | xargs dirname | fzf
|
2023-05-17 14:20:29 +00:00
|
|
|
fi
|