connected - scgray/jsqsh GitHub Wiki

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