Skip to content
Scott C Gray edited this page Feb 26, 2017 · 2 revisions

Variable

connected - Indicates whether or not the current session is connected

Description

The read-only ${connected} variable will contain the value true if the current session is connected to a server, otherwise false. This is primarily useful for including in the prompt.

See also

prompt, \connect

Clone this wiki locally