X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/47558cb545fbf6e175c75fe04741ffd78754f222..eaafe75591b135cd256e4c77e21be199131407d5:/vcsh?ds=sidebyside 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 }