X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/af34387542dd1524498adba5d8850fbfa15aa02f..eaafe75591b135cd256e4c77e21be199131407d5:/vcsh diff --git a/vcsh b/vcsh index ce8d385..358135a 100755 --- a/vcsh +++ b/vcsh @@ -139,7 +139,7 @@ init() { list() { for repo in "$VCSH_REPO_D"/*.git; do - [ -r "$repo" ] && echo $(basename "$repo" .git) + [ -d "$repo" ] && [ -r "$repo" ] && echo $(basename "$repo" .git) done }