unposted: _tac: Eliminate superfluous variable

This commit is contained in:
dana 2020-01-05 14:51:04 -06:00
parent 0d3a62d931
commit 3ff0b189a0
2 changed files with 4 additions and 5 deletions

View file

@ -1,5 +1,8 @@
2020-01-05 dana <dana@dana.is>
* unposted: Completion/Unix/Command/_tac: Eliminate superfluous
variable
* 45226 (with Daniel, 45223): Completion/Unix/Command/_man:
Improve completion of file paths

View file

@ -1,11 +1,7 @@
#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
[[ $variant == gnu ]] || {
_pick_variant gnu='Free Soft' unix --version || {
_default
return
}