diff options
| author | dana <dana@dana.is> | 2018-12-17 14:49:33 -0600 |
|---|---|---|
| committer | dana <dana@dana.is> | 2018-12-17 14:49:33 -0600 |
| commit | 43247252ddeedcf3955b030f2c77064089581cb0 (patch) | |
| tree | 1775341f8fb89fdd992609c448a9d1c4d6bbf4d2 /Completion/Unix/Command/_tail | |
| parent | 43895: _watch: Complete for procps/-ng watch (diff) | |
| download | zsh-43247252ddeedcf3955b030f2c77064089581cb0.tar zsh-43247252ddeedcf3955b030f2c77064089581cb0.tar.gz zsh-43247252ddeedcf3955b030f2c77064089581cb0.tar.bz2 zsh-43247252ddeedcf3955b030f2c77064089581cb0.tar.lz zsh-43247252ddeedcf3955b030f2c77064089581cb0.tar.xz zsh-43247252ddeedcf3955b030f2c77064089581cb0.tar.zst zsh-43247252ddeedcf3955b030f2c77064089581cb0.zip | |
43897: Add/update various completion functions
* Update tail to support -q/-v on NetBSD
* Add several new functions (with one change needed to _hosts compdefs)
Diffstat (limited to 'Completion/Unix/Command/_tail')
| -rw-r--r-- | Completion/Unix/Command/_tail | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_tail b/Completion/Unix/Command/_tail index 599503ab5..3bfbe37ca 100644 --- a/Completion/Unix/Command/_tail +++ b/Completion/Unix/Command/_tail @@ -38,10 +38,13 @@ else ) ;| (freebsd*|darwin*|dragonfly*|netbsd*) - args+=( '(-f -r)-F[implies -f, but also detect file rename]' ) + args+=( + '(-f -r)-F[implies -f, but also detect file rename]' + '(-v)-q[never output headers giving file names]' + ) ;| - (freebsd*|darwin*|dragonfly*) - args+=( '-q[suppress the headers when displaying multiple files]' ) + (netbsd*) + args+=( '(-q)-v[always output headers giving file names]' ) ;; esac fi |
