dotfiles/bin/tails

4 lines
95 B
Bash
Executable file

#!/bin/sh
# Tail as much as fits on screen
exec tail -n $(echo "$(tput lines) - 5" | bc) "$@"