Skip to content

Instantly share code, notes, and snippets.

@derveloper
Created August 23, 2013 14:04
Show Gist options
  • Save derveloper/6319659 to your computer and use it in GitHub Desktop.
Save derveloper/6319659 to your computer and use it in GitHub Desktop.
function ssh_connection() {
if [[ -n $SSH_CONNECTION ]]; then
echo "%{$fg_bold[red]%}(ssh) "
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment