mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-07-28 22:31:12 +02:00
42590: fix detection of OSTYPE in _fmt
This commit is contained in:
parent
5dc36c40c3
commit
4b13cda37b
2 changed files with 3 additions and 1 deletions
|
@ -17,6 +17,8 @@
|
||||||
|
|
||||||
2018-04-05 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
2018-04-05 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||||
|
|
||||||
|
* 42590: Completion/Unix/Command/_fmt: fix detection of OSTYPE
|
||||||
|
|
||||||
* 42585 (cf. 42574: Eitan Adler): Completion/Unix/Command/_tar,
|
* 42585 (cf. 42574: Eitan Adler): Completion/Unix/Command/_tar,
|
||||||
Completion/Unix/Type/_tar_archive: complete all compressed
|
Completion/Unix/Type/_tar_archive: complete all compressed
|
||||||
archives when libarchive-based tar is being used without
|
archives when libarchive-based tar is being used without
|
||||||
|
|
|
@ -7,7 +7,7 @@ local wopt="[specify maximum line width]:width [75]"
|
||||||
local sopt="[don't join short lines\: split only]"
|
local sopt="[don't join short lines\: split only]"
|
||||||
|
|
||||||
args=( -A "-*" "(1 2)-w+$wopt" '*:file:_files' )
|
args=( -A "-*" "(1 2)-w+$wopt" '*:file:_files' )
|
||||||
_pick_variant -r variant gnu=GNU unix --version
|
_pick_variant -r variant gnu=GNU $OSTYPE --version
|
||||||
case $variant in
|
case $variant in
|
||||||
gnu)
|
gnu)
|
||||||
args=(
|
args=(
|
||||||
|
|
Loading…
Reference in a new issue