dotfiles/bin/tails
Fernando Schauenburg a6f51c9be3 bin: remove comma from my scripts
The leading comma seemed like a good idea to namespace my commands but
in practice in turned out to just be annoying and not provide any real
benefits. So down with the comma...
2021-08-08 23:56:17 +02:00

4 lines
95 B
Bash
Executable file

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