Next Previous Contents 4. Examples for different shells Below we provide an set of examples for some of the more common shells. We start with zsh as it provides several facilities that make our job much easier. We will then progress through increasingly difficult examples. In all the examples we test the environment variable $TERM to make sure we only apply the escapes to xterms. We test for $TERM