settings
List current values of all XSH2 settings (such as validation flag or query-encoding).
--variables or :v flag enforces syntax which makes use of variable assignments. Otherwise, settings are listed in the form of XSH commands.
--variables
:v
Example 50. Store current settings in your .xshrc
xsh> settings | cat > ~/.xshrc
settings | cat > ~/.xshrc