Find is too slow

This commit is contained in:
flyingscorpio@pinebookpro 2021-09-01 12:38:51 +02:00
parent a2cfb64f1b
commit 62c94c93c9

View file

@ -66,7 +66,8 @@ clitip() {
xmlstarlet unesc | fmt -80 | iconv -t US
}
GIT_REPOS=($(dirname $(find ~ -name .git -type d -not -path '*/.vim/*' -and -not -path '*/.local/*' -and -not -path '*/builds/*')))
#GIT_REPOS=($(dirname $(find ~ -name .git -type d -not -path '*/.vim/*' -and -not -path '*/.local/*' -and -not -path '*/builds/*')))
GIT_REPOS=(~/src/* ~/setup-cockpit ~/tssr ~/.password-store)
cockpit() { # enable pass-like commands (ex: cockpit git push)
local start_dir="$PWD"