diff options
author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2015-11-13 01:02:37 +0900 |
---|---|---|
committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2015-11-13 01:03:38 +0900 |
commit | d5ba08af4933fdef596f5151b3e903868d352f65 (patch) | |
tree | 179e5748b8ccb7b5475ea1036f264c203240110f /Doc/Zsh/contrib.yo | |
parent | ff85c8b1c99bd655a64564fc8beba3167d229c23 (diff) | |
download | zsh-d5ba08af4933fdef596f5151b3e903868d352f65.tar.gz zsh-d5ba08af4933fdef596f5151b3e903868d352f65.tar.xz zsh-d5ba08af4933fdef596f5151b3e903868d352f65.zip |
unposted: a few cosmetic format fixes in docs
Diffstat (limited to 'Doc/Zsh/contrib.yo')
-rw-r--r-- | Doc/Zsh/contrib.yo | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo index f74f7d709..07a5eb08e 100644 --- a/Doc/Zsh/contrib.yo +++ b/Doc/Zsh/contrib.yo @@ -1755,7 +1755,7 @@ a customised bookmark string for the tt(hg) backend. Again, we start off by registering a function: example(zstyle ':vcs_info:hg+gen-hg-bookmark-string:*' hooks hgbookmarks) -And then we define the `tt(+vi-hgbookmarks) function: +And then we define the `tt(+vi-hgbookmarks)' function: example( function +vi-hgbookmarks+LPAR()RPAR() { # The default is to connect all bookmark names by @@ -1780,8 +1780,7 @@ function +vi-hgbookmarks+LPAR()RPAR() { # something other than the default zero: ret=1 return 0 -} -) +}) Some longer examples and code snippets which might be useful are available in the examples file located at Misc/vcs_info-examples in the Zsh source |