summaryrefslogtreecommitdiff
path: root/Util
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2016-12-04 04:32:03 +0100
committerAxel Beckert <abe@deuxchevaux.org>2016-12-04 04:32:03 +0100
commit3e439c3863f14c82f70666804c8570a13b3732e6 (patch)
tree07036c43e0f3f9242bb6dd42cd2a849ec8ea8aca /Util
parent2aedc4b88fd0e87b89583983951b04b96f48efd3 (diff)
parent7b7e84f0815ed22a0ee348a217776529035dccf3 (diff)
downloadzsh-3e439c3863f14c82f70666804c8570a13b3732e6.tar.gz
zsh-3e439c3863f14c82f70666804c8570a13b3732e6.zip
Merge tag 'zsh-5.2-test-1' into debian
Diffstat (limited to 'Util')
-rw-r--r--Util/check-tmux-state2
-rwxr-xr-xUtil/helpfiles2
-rw-r--r--Util/zyodl.vim2
3 files changed, 4 insertions, 2 deletions
diff --git a/Util/check-tmux-state b/Util/check-tmux-state
index 4cba36070..2c6106203 100644
--- a/Util/check-tmux-state
+++ b/Util/check-tmux-state
@@ -58,7 +58,7 @@ __tmux-window-options
# Subcommand helper functions are defined like "function _tmux-foo() {"
# in the _tmux function definition file.
typeset -a supported_commands
-supported_commands=( $( grep 'function *\<_tmux-' $func |
+supported_commands=( $( grep '^_tmux-[^(]*() *{$' $func |
sed -e 's,^.*\<_tmux-,,' -e 's,(.*$,,' ) )
# Ask tmux for available commands:
diff --git a/Util/helpfiles b/Util/helpfiles
index 699ca8321..9e837fe2d 100755
--- a/Util/helpfiles
+++ b/Util/helpfiles
@@ -19,7 +19,7 @@
# This script is called automatically during `make install'
# unless specified otherwise.
-# For usage and and more information see zshcontrib(1).
+# For usage and more information see zshcontrib(1).
sub Usage {
print(STDERR "Usage: helpfiles zshbuiltins.1 dest-dir [link-file]\n");
diff --git a/Util/zyodl.vim b/Util/zyodl.vim
index b67bfa54e..d0d3cf54f 100644
--- a/Util/zyodl.vim
+++ b/Util/zyodl.vim
@@ -10,6 +10,8 @@
" 2. Create ~/.vim/filetype.vim as explained in ":help new-filetype" case C.
" 3. Add the following command to ~/.vim/filetype.vim:
" autocmd BufRead,BufNewFile **/Doc/Zsh/*.yo setfiletype zyodl
+" Or alternatively:
+" 1. Append the contents of Doc/Zsh/.vimrc to your .vimrc, changing «<sfile>» to «%».
"" Test case:
" texinode()()()()