Skip to content

Instantly share code, notes, and snippets.

@zwpp
Created July 2, 2014 20:01
Show Gist options
  • Save zwpp/0c181d426be3f341e76e to your computer and use it in GitHub Desktop.
Save zwpp/0c181d426be3f341e76e to your computer and use it in GitHub Desktop.
#!/bin/sh
if [$# -eq 0]
then
return 1
fi
while ["$1" != "" ]
do
mkdir -p /tmp/mikutter_update
git clone $1 /tmp/mikutter_update
#rm /tmp/mikutter_update/README.*
find /tmp/mikutter_update -maxdepth 1 -not -type d -and -not -name '*.rb' |xargs rm
cp -r /tmp/mikutter_update/* $HOME/.mikutter/plugin
rm -r /tmp/mikutter_update
shift
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment