update plugin management
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user