Skip to content

Instantly share code, notes, and snippets.

@syusui-s
Last active December 15, 2015 15:09
Show Gist options
  • Save syusui-s/5279379 to your computer and use it in GitHub Desktop.
Save syusui-s/5279379 to your computer and use it in GitHub Desktop.
mikutterのプラグインをアップデートするやつ
# mikutterのプラグインって、たいがいgit cloneして導入するし、それぞれのフォルダでgit pullすればいいかなーって。
# 端末にコピペで動きますん
TMPPWD=$PWD;cd ~/.mikutter/plugin/;for x in $(for i in `ls -F`;do;echo $i|sed -ne "/\/$/p"|sed -e "s/\///g";done);do;echo -e "\e[32;1mtrying to update '$x'...\e[0m";cd $x;git pull;cd ..;done;cd $TMPPWD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment