Skip to content

Instantly share code, notes, and snippets.

@tamboer
Last active August 7, 2020 07:34
Show Gist options
  • Save tamboer/bd94a05701ac9a598ed1f3c6382eebb5 to your computer and use it in GitHub Desktop.
Save tamboer/bd94a05701ac9a598ed1f3c6382eebb5 to your computer and use it in GitHub Desktop.
#!/bin/bash
GIST_ID=${1}
cd ~/bin
git clone https://gist.github.com/${GIST_ID}.git
for entry in "$GIST_ID"/*
do
SCRIPT_NAME=$entry
ln $SCRIPT_NAME
chmod +x $SCRIPT_NAME
done
echo "Hello World!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment