Bash linewrap fix on Synology

When SSH-ing into Synology systems, the prompt wraps onto itself after 80 characters, regardless of the size of the window. To fix this do:

vi ~/.bashrc

and insert:

#!/bin/sh
shopt -s checkwinsize