mirror of
https://github.com/zsh-users/zsh
synced 2024-09-15 22:20:22 +00:00
unposted: _tac: Eliminate superfluous variable
This commit is contained in:
parent
0d3a62d931
commit
3ff0b189a0
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue