views: only display the first line of a multi-line shell script

The full script is only displayed when we have enough space for that.