Limiting thread spawns

This commit is contained in:
2023-01-07 14:15:06 -06:00
parent 95076afb6a
commit 81a88a73db
6 changed files with 97 additions and 2 deletions

20
plugins/git_clone/download.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
# . CONFIG.sh
# set -o xtrace ## To debug scripts
# set -o errexit ## To exit on error
# set -o errunset ## To exit if a variable is referenced but not set
function main() {
cd "$(dirname "")"
echo "Working Dir: " $(pwd)
TARGETDIR="${1}"
LINK=`xclip -selection clipboard -o`
cd "${TARGETDIR}"
git clone "${LINK}"
}
main "$@";