#!/bin/bash # Only run if interactive SSH session if [[ -n "$SSH_TTY" && $- == *i* && "$(tty)" != "not a tty" ]]; then history -r # Ensure history is available source /bigscoots/includes/common.sh gimme_the_goods_les fi