mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 22:32:12 +02:00
unposted: _tac: Eliminate superfluous variable
This commit is contained in:
parent
0d3a62d931
commit
3ff0b189a0
2 changed files with 4 additions and 5 deletions
|
@ -1,5 +1,8 @@
|
||||||
2020-01-05 dana <dana@dana.is>
|
2020-01-05 dana <dana@dana.is>
|
||||||
|
|
||||||
|
* unposted: Completion/Unix/Command/_tac: Eliminate superfluous
|
||||||
|
variable
|
||||||
|
|
||||||
* 45226 (with Daniel, 45223): Completion/Unix/Command/_man:
|
* 45226 (with Daniel, 45223): Completion/Unix/Command/_man:
|
||||||
Improve completion of file paths
|
Improve completion of file paths
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
#compdef tac gtac
|
#compdef tac gtac
|
||||||
|
|
||||||
local variant
|
|
||||||
|
|
||||||
_pick_variant -r variant gnu='Free Soft' unix --version
|
|
||||||
|
|
||||||
# NetBSD (at least) has its own bare-bones version of this tool
|
# NetBSD (at least) has its own bare-bones version of this tool
|
||||||
[[ $variant == gnu ]] || {
|
_pick_variant gnu='Free Soft' unix --version || {
|
||||||
_default
|
_default
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue