update plugin management

This commit is contained in:
Erich Smith
2012-05-13 08:37:31 -04:00
parent 8051a8520e
commit 08e439c4f0
18 changed files with 198 additions and 167 deletions

View File

@@ -1,9 +1,9 @@
cite about-plugin
about-plugin hg helper functions
about-plugin 'hg helper functions'
hg_dirty() {
about displays dirty status of hg repository
group hg
about 'displays dirty status of hg repository'
group 'hg'
hg status --no-color 2> /dev/null \
| awk '$1 == "?" { print "?" } $1 != "?" { print "!" }' \
@@ -12,14 +12,14 @@ hg_dirty() {
hg_in_repo() {
about 'determine if pwd is an hg repo'
group hg
group 'hg'
[[ `hg branch 2> /dev/null` ]] && echo 'on '
}
hg_branch() {
about display current hg branch
group hg
about 'display current hg branch'
group 'hg'
hg branch 2> /dev/null
}