diff options
author | Oliver Kiddle <opk@zsh.org> | 2021-07-09 00:23:52 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2021-07-09 00:23:52 +0200 |
commit | e6fdd35a83881a957ac206b4e128886d07f37c71 (patch) | |
tree | 3b5c1128104ee38544c89e10329be417f057bb78 /Completion/Base/Widget/_complete_tag | |
parent | bffe543142978b036621291dcfe08771ad6b4bda (diff) | |
download | zsh-e6fdd35a83881a957ac206b4e128886d07f37c71.tar.gz zsh-e6fdd35a83881a957ac206b4e128886d07f37c71.tar.xz zsh-e6fdd35a83881a957ac206b4e128886d07f37c71.zip |
49150: consistently use singular form for headings on completion match groups
Diffstat (limited to 'Completion/Base/Widget/_complete_tag')
-rw-r--r-- | Completion/Base/Widget/_complete_tag | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Base/Widget/_complete_tag b/Completion/Base/Widget/_complete_tag index 5b50f1d85..397b8d901 100644 --- a/Completion/Base/Widget/_complete_tag +++ b/Completion/Base/Widget/_complete_tag @@ -50,13 +50,13 @@ if [[ -f $c_path$c_Tagsfile ]]; then -e '/^[a-zA-Z_].*/p' $c_path$c_Tagsfile)) # c_tags_array=($(perl -ne '/([a-zA-Z_0-9]+)[ \t:;,\(]*\x7f/ && # print "$1\n"' $c_path$c_Tagsfile)) - _main_complete - '' _wanted etags expl 'emacs tags' \ + _main_complete - '' _wanted etags expl 'emacs tag' \ compadd -a c_tags_array elif [[ -f $c_path$c_tagsfile ]]; then # tags doesn't have as much in, but the tag is easy to find. # we can use awk here. c_tags_array=($(awk '{ print $1 }' $c_path$c_tagsfile)) - _main_complete - '' _wanted vtags expl 'vi tags' compadd -a c_tags_array + _main_complete - '' _wanted vtags expl 'vi tag' compadd -a c_tags_array else return 1 fi |