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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user