aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/tail.fish
diff options
context:
space:
mode:
authorGravatar lordlycastle <lordlycastle@hotmail.com>2015-12-10 14:20:46 +0000
committerGravatar lordlycastle <lordlycastle@hotmail.com>2015-12-10 14:20:46 +0000
commit96b3e1ce1bf8098d4b58b8695b1c2f5d7ba87f29 (patch)
treebcd52051b77c9d65a270a98a89502cbea4a6dc78 /share/completions/tail.fish
parent3868203c76e7570b59feeb9d69d5c98b0cd2c7c5 (diff)
Added OS X completions for open, and seq. Added missing stdout redirection to /dev/null when checking command's version.
Diffstat (limited to 'share/completions/tail.fish')
-rw-r--r--share/completions/tail.fish1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/completions/tail.fish b/share/completions/tail.fish
index aa67e784..66c426d6 100644
--- a/share/completions/tail.fish
+++ b/share/completions/tail.fish
@@ -12,6 +12,7 @@ if tail --version > /dev/null ^ /dev/null
complete -c tail -l help -d 'display this help and exit'
complete -c tail -l version -d 'output version information and exit'
else # OSX and similar - no longopts (and fewer shortopts)
+ complete -c tail -s b -x -d 'output last K 512 byte blocks'
complete -c tail -s c -x -d 'output the last K bytes or only K bytes with -r'
complete -c tail -s f -d 'output appended data as the file grows'
complete -c tail -s F -d 'Like -f, but also follow renamed or rotated files'