bash-language-server icon indicating copy to clipboard operation
bash-language-server copied to clipboard

Take variables introduces in for-statements into account

Open mads-hartmann opened this issue 7 years ago • 0 comments

Go to declaration at references to project doesn't work.

for project in $(ls ~/dev/${kind}); do
    path="${HOME}/dev/${kind}/${project}"
    echo "Checking project ${path}"
    # Check if there are any unpushed branches
    if is-git-repository; then
        cd "${path}" && git log --branches --not --remotes --no-walk --decorate --oneline
    fi
done

mads-hartmann avatar Mar 20 '18 19:03 mads-hartmann