1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

49766: _less: add quotes to -" and -#

This commit is contained in:
Jun-ichi Takimoto 2022-02-23 11:39:33 +09:00
parent a692b980cb
commit ef60187efc
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,7 @@
2022-02-23 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 49766: Completion/Unix/Command/_less: add quotes to -" and -#
* 49765: Completion/Unix/Command/_less: add option --color
as synonym for -D

View file

@ -80,9 +80,9 @@ _arguments -S -s -A "[-+]*" \
'--no-keypad[disable use of keypad terminal init string]' \
'(-y --max-forw-scroll)'{-y,--max-forw-scroll}'[specify forward scroll limit]' \
'(-z --window)'{-z+,--window=}'[specify scrolling window size]:lines' \
'(-" --quotes)'{-\"+,--quotes=}'[change quoting character]:quoting characters' \
'(-\" --quotes)'{'-\"+',--quotes=}'[change quoting character]:quoting characters' \
'(-~ --tilde)'{-~,--tilde}"[don't display tildes after end of file]" \
'(-# --shift)'{-\#+,--shift=}"[specify amount to move when scrolling horizontally]:number" \
'(-\# --shift)'{'-\#+',--shift=}"[specify amount to move when scrolling horizontally]:number" \
'--file-size[automatically determine the size of the input file]' \
'--incsearch[search file as each pattern character is typed in]' \
'--line-num-width=[set the width of line number field]:width [7]' \