standardize plugins, update metadata

add about-plugin metadata
chmod -x plugins
cleanup filenames to standardize on x.plugin.bash format
only plugin files intended to be executable from the command line should
contain a shebang line, and should be a+x.
This commit is contained in:
Erich Smith
2012-05-11 23:27:03 -04:00
parent 254d4459e2
commit 55e77deac1
27 changed files with 214 additions and 53 deletions

View File

@@ -1,8 +1,21 @@
#!/usr/bin/env bash
cite about-plugin
about-plugin 'svn helper functions'
rm_svn(){
about 'remove ".svn" files from directory'
param '1: directory to search for files'
group 'svn'
if [ -z "$1" ]; then
reference rm_svn
return
fi
find $1 -name .svn -print0 | xargs -0 rm -rf
}
svn_add(){
svn status | grep '^\?' | sed -e 's/? *//' | sed -e 's/ /\ /g' | xargs svn add
about 'add to svn repo'
group 'svn'
svn status | grep '^\?' | sed -e 's/? *//' | sed -e 's/ /\ /g' | xargs svn add
}