1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-07-25 09:21:05 +02:00

42590: fix detection of OSTYPE in _fmt

This commit is contained in:
Jun-ichi Takimoto 2018-04-05 20:31:28 +09:00
parent 5dc36c40c3
commit 4b13cda37b
2 changed files with 3 additions and 1 deletions
ChangeLog
Completion/Unix/Command

View file

@ -17,6 +17,8 @@
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,
Completion/Unix/Type/_tar_archive: complete all compressed
archives when libarchive-based tar is being used without

View file

@ -7,7 +7,7 @@ local wopt="[specify maximum line width]:width [75]"
local sopt="[don't join short lines\: split only]"
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
gnu)
args=(